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

lcmaps_jobrep.c File Reference

Plugin to get data for the Job Repository Database. More...

#include "lcmaps_config.h"
#include <stdio.h>
#include <stdlib.h>
#include <ctype.h>
#include <string.h>
#include <pwd.h>
#include <openssl/x509.h>
#include <openssl/asn1.h>
#include "gssapi.h"
#include "lcmaps_modules.h"
#include "lcmaps_arguments.h"
#include "lcmaps_cred_data.h"
#include "lcmaps_voms_utils.h"
#include "lcmaps_vo_data.h"
#include "voms_apic.h"
#include "globus_gss_assist.h"
#include "jobrep_api.h"

Go to the source code of this file.

Functions

int lcmaps_get_jobrep_config (const char *, char **)
 Get the Job Repository configuration from file.


Detailed Description

Plugin to get data for the Job Repository Database.

Author:
Oscar Koeroo for the EU DataGrid.

Definition in file lcmaps_jobrep.c.


Function Documentation

int lcmaps_get_jobrep_config const char *  path,
char **  jobrep_config
[static]
 

Get the Job Repository configuration from file.

This function tries to read the Job Repository configuration from the jobrep_config file. It also tests if the access bits of the file are correctly set.

Parameters:
path the path to the jobrep_config file containing the config string.
jobrep_config variable to set the configuration string in
Return values:
0 success
1 other failure

Definition at line 2287 of file lcmaps_jobrep.c.

References lcmaps_log(), and lcmaps_log_debug().


Generated on Sun May 29 21:22:12 2005 for lcmaps by doxygen 1.3.5