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

lcas_utils.c File Reference

the utilities for the LCAS. 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 "lcas_defines.h"
#include "lcas_types.h"

Include dependency graph for lcas_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 LCAS.

Author:
Martijn Steenbakkers for the EU DataGrid.

Definition in file lcas_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 143 of file lcas_utils.c.

Referenced by lcas_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 252 of file lcas_utils.c.

Referenced by lcas_getfexist().


Generated at Tue Sep 23 15:07:07 2003 for edg-lcas by doxygen1.2.8.1 written by Dimitri van Heesch, © 1997-2001