#include <pwd.h>
#include "lcmaps_vo_data.h"
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 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). | |
void * | getCredentialData (int datatype, int *count) |
Get pointer to a list of credential data of a certain type. |
Routines to access the credential data that are gathered by the plugins.
Definition in file lcmaps_cred_data.h.
|
Add a credential to the list of found credentials (uids, gids etc). The credential value is copied into list (memory is allocated for this)
Definition at line 92 of file lcmaps_cred_data.c. References cred_data_s::cntPriGid, cred_data_s::cntSecGid, cred_data_s::cntUid, cred_data_s::cntVoCred, cred_data_s::cntVoCredMapping, cred_data_s::cntVoCredString, cred_data_s::dn, lcmaps_copyVoData(), lcmaps_copyVoMapping(), lcmaps_vo_data_t, lcmaps_vo_mapping_t, cred_data_s::pool_index, cred_data_s::priGid, cred_data_s::secGid, cred_data_s::uid, cred_data_s::VoCred, cred_data_s::VoCredMapping, and cred_data_s::VoCredString. |
|
Get pointer to a list of credential data of a certain type.
Definition at line 228 of file lcmaps_cred_data.c. References cred_data_s::cntPriGid, cred_data_s::cntSecGid, cred_data_s::cntUid, cred_data_s::cntVoCred, cred_data_s::cntVoCredMapping, cred_data_s::cntVoCredString, cred_data_s::dn, cred_data_s::pool_index, cred_data_s::priGid, cred_data_s::secGid, cred_data_s::uid, cred_data_s::VoCred, cred_data_s::VoCredMapping, and cred_data_s::VoCredString. Referenced by lcmaps_run_and_return_poolindex(), lcmaps_run_and_return_username(), lcmaps_run_with_fqans_and_return_account(), and lcmaps_run_without_credentials_and_return_username(). |