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

Annotation of /trunk/grid-mw-security/ees/include/common/_aos.h

Parent Directory Parent Directory | Revision Log Revision Log


Revision 525 - (hide annotations) (download) (as text)
Wed Jul 15 08:55:01 2009 UTC (12 years, 10 months ago) by aramv
File MIME type: text/x-csrc
File size: 1073 byte(s)
Wored on parser, trying to fix memleaks
1 aramv 525 /*!
2    
3     \file _aos.h
4     \brief Private library functions of the AOS (Attribute Object Store)
5     \author Aram Verstegen
6    
7     This header contains some private functions of the Attribute Object Store.
8     It contains the following functions:
9     -# AOS_buffer_size(arg_type): returns size of buffer needed to store an argument of arg_type;
10     -# AOS_free_argslist(void): Free's linkedlist nodes that have malloc-ed buffers.
11     -# AOS_get_last_node(void): Returns last node in the linkedlist.
12     -# AOS_is_initialized(void): Returns 1 if the AOS list is initialized, 0 if it isn't. This might be deprecated now that the AOS uses a linked list rather than an array.
13     */
14    
15 aramv 484 #ifndef _AOS_H
16     #define _AOS_H
17 aramv 460 #include <string.h>
18     #include <stdio.h>
19     #include <stdlib.h>
20     #include <errno.h>
21     #include "polytypes.h"
22 aramv 473 #include "ng_log.h"
23 aramv 484
24 aramv 488 static argument_t * args_list;
25     static int _is_initialized;
26     static unsigned int args_size;
27 aramv 484
28 aramv 502 size_t AOS_buffer_size(arg_type);
29     void AOS_free_argslist(void);
30     argument_t * AOS_get_last_node(void);
31     int AOS_is_initialized(void);
32    
33 aramv 460 #endif
34    

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