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

lcmaps_cred_data.h File Reference

Public header file to be used by plugins. More...

#include <pwd.h>
#include "lcmaps_vo_data.h"

Include dependency graph for lcmaps_cred_data.h:

Include dependency graph

This graph shows which files directly or indirectly include this file:

Included by dependency graph

Go to the source code of this file.

Data Structures

struct  cred_data_s
 structure that contains the gathered (local) credentials en VOMS info. More...


Typedefs

typedef struct cred_data_s  cred_data_t
 Type of credential data.


Functions

int addCredentialData (int datatype, void *data)
 Add a credential to the list of found credentials (uids, gids etc). More...

void* getCredentialData (int datatype, int *count)
 Get pointer to a list of credential data of a certain type. More...


Detailed Description

Public header file to be used by plugins.

Routines to access the credential data that are gathered by the plugins.

Author:
Martijn Steenbakkers and Oscar Koeroo for the EU DataGrid.

Definition in file lcmaps_cred_data.h.


Function Documentation

int addCredentialData ( int datatype,
void * data )
 

Add a credential to the list of found credentials (uids, gids etc).

The credential value is copied into list (memory is allocated for this)

Parameters:
datatype   type of credential
data   pointer to credential

Returns:
0 in case of succes

Definition at line 84 of file lcmaps_cred_data.c.

void * getCredentialData ( int datatype,
int * count )
 

Get pointer to a list of credential data of a certain type.

Parameters:
datatype   type of credential
count   number of credentials found in list of datatype (filled by routine)

Returns:
pointer to list of credential data or NULL in case of failure

Definition at line 211 of file lcmaps_cred_data.c.


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