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"

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)

Definition at line 143 of file lcas_utils.c.

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.


Generated on Mon Sep 20 15:14:15 2004 for edg-lcas by doxygen1.2.14 written by Dimitri van Heesch, © 1997-2002