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

lcas_timeslots.c File Reference

Interface to the LCAS plugins. More...

#include "lcas_config.h"
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <malloc.h>
#include <time.h>
#include <values.h>
#include "lcas_modules.h"

Include dependency graph for lcas_timeslots.c:

Include dependency graph

Go to the source code of this file.

Functions

int plugin_confirm_authorization (lcas_request_t request, lcas_cred_id_t lcas_cred)
 ******************************************************************************.


Detailed Description

Interface to the LCAS plugins.

Author:
Martijn Steenbakkers for the EU DataGrid.

LCAS plugin that makes authorization decisions based on available time slots Currently it reads a text file that contains the available time slots.
  1. plugin_initialize()
  2. plugin_confirm_authorization()
  3. plugin_terminate()

Definition in file lcas_timeslots.c.


Variable Documentation

char * days [static]
 

Initial value:

                              {
                                  "Sunday",
                                  "Monday",
                                  "Tuesday",
                                  "Wednesday",
                                  "Thursday",
                                  "Friday",
                                  "Saturday"
                              }

Definition at line 177 of file lcas_timeslots.c.

char * months [static]
 

Initial value:

                              {
                                  "Jan",
                                  "Feb",
                                  "Mar",
                                  "Apr",
                                  "May",
                                  "Jun",
                                  "Jul",
                                  "Aug",
                                  "Sep",
                                  "Oct",
                                  "Nov",
                                  "Dec",
                              }

Definition at line 187 of file lcas_timeslots.c.


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