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

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

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

revision 472 by aramv, Tue Jun 23 13:05:50 2009 UTC revision 473 by aramv, Wed Jun 24 14:25:36 2009 UTC
# Line 20  Line 20 
20  #define _AOS_API_H  #define _AOS_API_H
21  #include "_aos.h"  #include "_aos.h"
22  #include "polytypes.h"  #include "polytypes.h"
23    #include <errno.h>
24    
25  typedef struct argument_s  typedef struct argument_s
26  {  {
27      void* data;                                                                 /*! a pointer to store the data */      void* data;                                                                 /*! a pointer to store the data */
28      int needs_free;                                                     /*! a flag that determines wheter the data should be free'd */      int needs_free;                                                     /*! a flag that determines wheter the data should be free'd */
29      const char* label;                                  /*! a label to identify the data */      const char * label;                                 /*! a label to identify the data */
30      arg_type type;                                                      /*! a type identifier */      arg_type type;                                                      /*! a type identifier */
31                  struct argument_s * parent;     /*! a pointer to the 'parent' object */                  struct argument_s * parent;     /*! a pointer to the 'parent' object */
32  }  }
# Line 38  typedef struct Line 39  typedef struct
39  }  }
40  arguments;  arguments;
41    
42  void AOS_set(const char* label, void*, arg_type, int bytes, argument_t * );  int AOS_is_initialized(void);
43  void AOS_set_int(const char* label, int value);  extern int AOS_set(const char* label, void*, arg_type, int bytes, argument_t * );
44  void AOS_set_string(const char* label, char* value);  extern int AOS_set_int(const char* label, int value);
45  void* AOS_get_value_by_label(char*);  extern int AOS_set_string(const char* label, char* value);
46  argument_t * AOS_get_argument_by_label(char*);  extern int AOS_set_pem(const char* label, char* value);
47    extern void* AOS_get_value_by_label(char*);
48    extern argument_t * AOS_get_argument_by_label(char*);
49    
50  #endif  #endif
51    

Legend:
Removed from v.472  
changed lines
  Added in v.473

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