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

Diff of /trunk/grid-mw-security/ees/include/library/polytypes.h

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

revision 524 by aramv, Tue Jun 30 13:03:07 2009 UTC revision 525 by aramv, Wed Jul 15 08:55:01 2009 UTC
# Line 19  Line 19 
19    
20  #define LCMAPS_MAXARGS                                  51  #define LCMAPS_MAXARGS                                  51
21    
   
22  typedef void *lcmaps_proc_t;  typedef void *lcmaps_proc_t;
23    
 typedef struct lcmaps_argument_s  
 {  
     char *argName; /*!< name of argument */  
     char *argType; /*!< type of the argument */  
     int argInOut;  /*!< input or output argument (0 = false = Input / 1 = true = Out) */  
     void *value;   /*!< value of argument */  
 } lcmaps_argument_t;  
24    
25    /*! Identifiers for linked process symbols */
26  typedef enum lcmaps_proctype_e  typedef enum lcmaps_proctype_e
27  {  {
28      INITPROC,   /*!< this value corresponds to the plugin initialization function */      INITPROC,   /*!< this value corresponds to the plugin initialization function */
# Line 41  typedef enum lcmaps_proctype_e Line 34  typedef enum lcmaps_proctype_e
34  } lcmaps_proctype_t;  } lcmaps_proctype_t;
35    
36    
37  /* Argument types */  /*! Argument types */
38  typedef enum  typedef enum
39  {  {
40    TYPE_NONE,    TYPE_NONE,
# Line 84  typedef enum Line 77  typedef enum
77          TYPE_EVP_PKEY          TYPE_EVP_PKEY
78  } arg_type;  } arg_type;
79    
80    
81    /*!
82     * \brief Node structure to hold plugin nodes
83     */
84  typedef struct lcmaps_plugindl_s  typedef struct lcmaps_plugindl_s
85  {  {
86      void *                      handle;                            /*!< dlopen handle to plugin module */      void *                      handle;                            /*!< dlopen handle to plugin module */
# Line 92  typedef struct lcmaps_plugindl_s Line 89  typedef struct lcmaps_plugindl_s
89      char                        pluginargs[LCMAPS_MAXARGSTRING+1]; /*!< argument string */      char                        pluginargs[LCMAPS_MAXARGSTRING+1]; /*!< argument string */
90      int                         init_argc;                         /*!< number of arguments for the initialization function */      int                         init_argc;                         /*!< number of arguments for the initialization function */
91      char *                      init_argv[LCMAPS_MAXARGS];         /*!< list of arguments for the initialization function */      char *                      init_argv[LCMAPS_MAXARGS];         /*!< list of arguments for the initialization function */
     int                         run_argc;                          /*!< number of arguments for the plugin run function (get credentials) */  
     char *                                                                                      run_argv[LCMAPS_MAXARGSTRING+1];                          /*!< list of arguments for the plugin run function (get credentials) */  
92      struct lcmaps_plugindl_s *  next;                              /*!< pointer to the next plugin in the plugin list */      struct lcmaps_plugindl_s *  next;                              /*!< pointer to the next plugin in the plugin list */
93  }  }
94    
95  lcmaps_plugindl_t;  lcmaps_plugindl_t;
96    
97    
98    /*! \brief Node structure to store AOS arguments */
99  typedef struct argument_s  typedef struct argument_s
100  {  {
101      void* data;                                                                 /*! a pointer to store the data */      void* data;                                                                 /*! a pointer to store the data */
# Line 111  typedef struct argument_s Line 108  typedef struct argument_s
108  }  }
109  argument_t;  argument_t;
110    
 /*typedef struct*/  
 /*{*/  
 /*size_t count;*/  
 /*argument_t *arg;*/  
 /*}*/  
 /*arguments;*/  
   
   
111  #endif  #endif

Legend:
Removed from v.524  
changed lines
  Added in v.525

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