/[pdpsoft]/trunk/grid-mw-security/ees/src/eef/eef_common.c
ViewVC logotype

Diff of /trunk/grid-mw-security/ees/src/eef/eef_common.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1916 by aramv, Thu Aug 26 15:00:24 2010 UTC revision 1917 by msalle, Tue Sep 7 12:48:29 2010 UTC
# Line 3  Line 3 
3  #include "pdl.h"  #include "pdl.h"
4  #include "plugin_manager.h"  #include "plugin_manager.h"
5    
6    #include <unistd.h>
7    
8    #ifdef BSD
9    #include <sys/ioctl.h>
10    #endif
11    
12  static const char* _modules_path; /*! Holds the global path to plug-in modules */  static const char* _modules_path; /*! Holds the global path to plug-in modules */
13  void (*EEF_log)(int, const char*, ...);  void (*EEF_log)(int, const char*, ...);
14    
# Line 25  unsigned int EEF_getVersion(void){ Line 31  unsigned int EEF_getVersion(void){
31   * Tries to daemonize the process   * Tries to daemonize the process
32   */   */
33  EES_RC EEF_daemonize(void){  EES_RC EEF_daemonize(void){
34    #ifdef BSD
35      pid_t pid;
36    #endif
37    int fd = 0;    int fd = 0;
38    
39    /* If launched by init there's no need to detach    /* If launched by init there's no need to detach

Legend:
Removed from v.1916  
changed lines
  Added in v.1917

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