Copyright (c) 2002 RIPE NCC
All Rights Reserved
Permission to use, copy, modify, and distribute this software and its
documentation for any purpose and without fee is hereby granted,
provided that the above copyright notice appear in all copies and that
both that copyright notice and this permission notice appear in
supporting documentation, and that the name of the author not be
used in advertising or publicity pertaining to distribution of the
software without specific, written prior permission.
THE AUTHOR DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE, INCLUDING
ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS; IN NO EVENT SHALL
AUTHOR BE LIABLE FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR ANY
DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN
AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
Included Files
- #include </ncc/dbwork/platforms/yucca-debug/glib-indep/include/glib-1.2/glib.h>
Preprocessor definitions
#define CLASS_H
#define MAX_CLASS_ATTR 50
typedef enum {...} attr_choice_t
enum |
|
{ |
|
ATTR_MANDATORY; |
|
ATTR_OPTIONAL; |
|
ATTR_GENERATED; |
|
} |
|
typedef enum {...} attr_number_t
enum |
|
{ |
|
ATTR_SINGLE; |
|
ATTR_MULTIPLE; |
|
} |
|
typedef struct {...} class_attr_t
struct |
|
{ |
|
int offset; |
|
attr_choice_t choice; |
|
attr_number_t number; |
|
} |
|
typedef struct {...} class_t
struct |
|
{ |
|
char* name; |
|
int id; |
|
int num_attr; |
|
class_attr_t attr[50]; |
|
GHashTable* attr_hash; |
|
} |
|