/[pdpsoft]/trunk/grid-mw-security/ees/include/eef_library.h
ViewVC logotype

Contents of /trunk/grid-mw-security/ees/include/eef_library.h

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1583 - (show annotations) (download) (as text)
Fri Mar 19 17:29:41 2010 UTC (12 years, 6 months ago) by aramv
File MIME type: text/x-csrc
File size: 1378 byte(s)
Fixed a read error. Added signature for fork function
1 /*!
2
3 \file eef.h
4 \brief API of the Nextgen library
5 \author Aram Verstegen
6
7 This header contains the delcaration of the Nextgen library functions:
8 -# EEF_Init(): Starts the Nextgen library, which invokes the Evaluation Manager, which in turn invokes the PluginManager to load and init the required plugins.
9 -# EEF_Run(plugin_name): Runs the Nextgen library, which iterates through the list and invokes the PluginManager to run the selected plugins.
10 -# EEF_Term(): Terminates the Nextgen library, prompting a cleanup of the stored data in the AOS and plugin manager.
11
12 */
13 #ifndef EEF_H
14 #define EEF_H
15 #include "eef_polytypes.h"
16 #include "eef_log.h"
17 #include "eef_return_codes.h"
18 #include "eef_aos.h"
19 #include "eef_library_helpers.h"
20
21 #if HAVE_STDIO_H
22 #include <stdio.h>
23 #endif
24
25 #if HAVE_FCNTL_H
26 #include <fcntl.h>
27 #endif
28
29 #if HAVE_SYS_STAT_H
30 #include <sys/stat.h>
31 #endif
32
33 #if HAVE_SIGNAL_H
34 #include <signal.h>
35 #endif
36
37 #if HAVE_SYS_IOCTL_H
38 #include <sys/ioctl.h>
39 #endif
40
41
42 #define MAX_TIME_STRING_SIZE 256
43
44 /* lifecycle functions */
45
46 void fork_and_exit_parent_with_logging(void);
47 extern EES_RC /*@alt void@*/ EEF_Daemonize (void);
48 extern EES_RC /*@alt void@*/ EEF_Init (char *config_file, FILE* log_file, int number_of_policies, char* names_of_policies[]);
49 extern EES_RC /*@alt void@*/ EEF_Run (void);
50 extern EES_RC /*@alt void@*/ EEF_Term (void);
51
52 #endif
53

Properties

Name Value
svn:mergeinfo

grid.support@nikhef.nl
ViewVC Help
Powered by ViewVC 1.1.28