Main Page   Modules   Data Structures   File List   Data Fields   Globals   Related Pages  

lcmaps_utils.c File Reference

the utilities for the LCMAPS. More...

#include <stdlib.h>
#include <stdio.h>
#include <string.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <unistd.h>
#include <errno.h>
#include <stdarg.h>
#include <gssapi.h>
#include <grp.h>
#include "lcmaps_defines.h"
#include "lcmaps_types.h"
#include "lcmaps_log.h"

Include dependency graph for lcmaps_utils.c:

Include dependency graph

Go to the source code of this file.

Functions

char* cred_to_dn (gss_cred_id_t)
 Get the globus DN from GLOBUS credential (gssapi). More...

int fexist (char *)
 check the existence of file corresponding to <path>. More...


Detailed Description

the utilities for the LCMAPS.

Author:
Martijn Steenbakkers for the EU DataGrid.

Definition in file lcmaps_utils.c.


Function Documentation

char * cred_to_dn ( gss_cred_id_t globus_cred ) [static]
 

Get the globus DN from GLOBUS credential (gssapi).

(copied and modified from GLOBUS gatekeeper.c)

Parameters:
globus_cred   GLOBUS credential
Returns:
globus DN string (which may be freed)

For internal use only.

Definition at line 176 of file lcmaps_utils.c.

Referenced by lcmaps_fill_cred().

int fexist ( char * path ) [static]
 

check the existence of file corresponding to <path>.

Parameters:
path   absolute filename to be checked.
Return values:
1   file exists.
0   failure.

Definition at line 304 of file lcmaps_utils.c.

Referenced by lcmaps_getfexist().


Generated at Thu Mar 4 17:39:31 2004 for edg-lcmaps by doxygen1.2.8.1 written by Dimitri van Heesch, © 1997-2001