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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 525 - (show annotations) (download) (as text)
Wed Jul 15 08:55:01 2009 UTC (12 years, 6 months ago) by aramv
File MIME type: text/x-csrc
File size: 1447 byte(s)
Wored on parser, trying to fix memleaks
1 /*!
2
3 \file aos.h
4 \brief API of the AOS (Attribute Object Store)
5 \author Aram Verstegen
6
7 This header contains the declarations of the Attribute Object Store.
8 It contains the following core functions:
9 -# AOS_set(label, value, type, bytes, parent): set a value in the AOS
10 -# AOS_get_argument_by_label(label): retrieves a pointer to a value of type argument_t, containing the data and associated meta information
11 -# AOS_delete_argument_by_label(label): deletes the value identified by label from the list
12
13 Additionally, it defines the following wrapper functions for these core functions:
14
15 -# AOS_set_int(label, value): a wrapper to set a value of integer type
16 -# AOS_set_string(label, value): a wrapper to set a value of string type
17 -# AOS_set_pem(label, value): a wrapper to set a value of PEM string type
18 -# AOS_get_value_by_label(label): retrieve a value associated with a label
19
20 */
21 #ifndef AOS_API_H
22 #define AOS_API_H
23 #include "nextgen.h"
24 #include <errno.h>
25
26 extern NG_RC AOS_set(const char* label, void*, arg_type, int bytes, argument_t * );
27 extern NG_RC AOS_set_int(const char* label, int value);
28 extern NG_RC AOS_set_string(const char* label, char* value);
29 extern NG_RC AOS_set_pem(const char* label, char* value);
30 extern NG_RC AOS_delete_argument_by_label(const char*);
31 extern void* AOS_get_value_by_label(const char*);
32 extern argument_t * AOS_get_argument_by_label(const char*);
33
34 #endif
35

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