Source File modules/df/defs.h

    1    | #ifndef READ_DEFS
    2    | #define READ_DEFS
    3    |
    4    | /***************************************
    5    |   $Revision: 1.2 $
    6    |
    7    |   Objects module (ob) - this _should_ eventually get merged in with the
    8    |   config module.
    9    |
    10   |   Status: NOT REVUED, NOT TESTED
    11   |
    12   |   ******************/ /******************
    13   |   Copyright (c) 1999                              RIPE NCC
    14   |
    15   |   All Rights Reserved
    16   |
    17   |   Permission to use, copy, modify, and distribute this software and its
    18   |   documentation for any purpose and without fee is hereby granted,
    19   |   provided that the above copyright notice appear in all copies and that
    20   |   both that copyright notice and this permission notice appear in
    21   |   supporting documentation, and that the name of the author not be
    22   |   used in advertising or publicity pertaining to distribution of the
    23   |   software without specific, written prior permission.
    24   |
    25   |   THE AUTHOR DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE, INCLUDING
    26   |   ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS; IN NO EVENT SHALL
    27   |   AUTHOR BE LIABLE FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR ANY
    28   |   DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN
    29   |   AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
    30   |   OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
    31   |   ***************************************/
    32   | #include <glib.h>
    33   | #include "bitmask.h"
    34   |
    35   | #include "DF_class_enum.def"
    36   | #include "DF_class_mask.def"
    37   |
    38   | #include "DF_attribute_enum.def"
    39   | #include "DF_attribute_inv_attr_mask.def"
    40   |
    41   | char * const *DF_get_filter_names(void);
    42   | char * const *DF_get_class_names(void);
    43   | char * const *DF_get_class_aliases(void);
    44   | int DF_get_class_index(int alias_index);
    45   | char * const DF_get_class_name(int alias_index);
    46   | char * const DF_get_class_code(C_Type_t index);
    47   | int DF_get_class_dbase_code(int class_index);
    48   | char * const *DF_get_sources(void);
    49   | const char *DF_get_source(int index);
    50   | char * const *DF_get_attribute_aliases(void);
    51   | const char *DF_get_attribute_name(A_Type_t index);
    52   | const char *DF_get_attribute_code(A_Type_t index);
    53   | char * const *DF_get_attribute_names(void);
    54   | int DF_get_attribute_index(int alias_index);
    55   | const char *DF_get_class_template(C_Type_t index);
    56   | const char *DF_get_class_template_v(C_Type_t index);
    57   | const char *DF_get_attribute_desc(A_Type_t index);
    58   | const char *DF_get_attribute_frmt(A_Type_t index);
    59   | char * DF_sources_to_string(void);
    60   | char *DF_sources_list_to_string(GList *sources_list);
    61   | char *DF_attributes_to_string(void);
    62   | A_Type_t DF_attribute_code2type(const gchar *token);
    63   | A_Type_t DF_attribute_name2type(const gchar *token);
    64   | C_Type_t DF_class_code2type(const gchar *token);
    65   | C_Type_t DF_class_name2type(const gchar *token);
    66   | const char *DF_get_server_query(int index);
    67   | char * const *DF_get_server_queries(void);
    68   |
    69   | #endif /* READ_DEFS */
    70   |