Source File modules/ca/ca_macros.h

    1    | /* Macro defintions of the get and set functions. */
    2    |
    3    | #define ca_get_bindport	ca_get_int(CA_BINDPORT)
    4    | #define ca_set_bindport	ca_set_int(CA_BINDPORT)
    5    |
    6    | #define ca_get_help	ca_get_dirlist(CA_HELP)
    7    | #define ca_set_help	ca_set_dirlist(CA_HELP)
    8    |
    9    | #define ca_get_replybanner	ca_get_string(CA_REPLYBANNER)
    10   | #define ca_set_replybanner	ca_set_string(CA_REPLYBANNER)
    11   |
    12   | #define ca_get_source	ca_get_source(CA_SOURCE)
    13   | #define ca_set_source	ca_set_source(CA_SOURCE)
    14   |
    15   | #define ca_get_testmode	ca_get_boolean(CA_TESTMODE)
    16   | #define ca_set_testmode	ca_set_boolean(CA_TESTMODE)
    17   |
    18   | #define ca_get_overridecryptedpw	ca_get_string(CA_OVERRIDECRYPTEDPW)
    19   | #define ca_set_overridecryptedpw	ca_set_string(CA_OVERRIDECRYPTEDPW)
    20   |
    21   | #define ca_get_whoishelp	ca_get_dirlist(CA_WHOISHELP)
    22   | #define ca_set_whoishelp	ca_set_dirlist(CA_WHOISHELP)
    23   |
    24   | #define ca_get_autodbmhelp	ca_get_dirlist(CA_AUTODBMHELP)
    25   | #define ca_set_autodbmhelp	ca_set_dirlist(CA_AUTODBMHELP)
    26   |
    27   | #define ca_get_attdesc	ca_get_dirlist(CA_ATTDESC)
    28   | #define ca_set_attdesc	ca_set_dirlist(CA_ATTDESC)
    29   |
    30   | #define ca_get_deflook	ca_get_source(CA_DEFLOOK)
    31   | #define ca_set_deflook	ca_set_source(CA_DEFLOOK)
    32   |
    33   | #define ca_get_dbfile	ca_get_dirlist(CA_DBFILE)
    34   | #define ca_set_dbfile	ca_set_dirlist(CA_DBFILE)
    35   |
    36   | #define ca_get_canupd	ca_get_source(CA_CANUPD)
    37   | #define ca_set_canupd	ca_set_source(CA_CANUPD)
    38   |
    39   | #define ca_get_crossnotifysources	ca_get_source(CA_CROSSNOTIFYSOURCES)
    40   | #define ca_set_crossnotifysources	ca_set_source(CA_CROSSNOTIFYSOURCES)
    41   |
    42   | #define ca_get_uid	ca_get_int(CA_UID)
    43   | #define ca_set_uid	ca_set_int(CA_UID)
    44   |
    45   | #define ca_get_qrylog	ca_get_dirlist(CA_QRYLOG)
    46   | #define ca_set_qrylog	ca_set_dirlist(CA_QRYLOG)
    47   |
    48   | #define ca_get_qry2log	ca_get_dirlist(CA_QRY2LOG)
    49   | #define ca_set_qry2log	ca_set_dirlist(CA_QRY2LOG)
    50   |
    51   | #define ca_get_errlog	ca_get_dirlist(CA_ERRLOG)
    52   | #define ca_set_errlog	ca_set_dirlist(CA_ERRLOG)
    53   |
    54   | #define ca_get_auditlog	ca_get_dirlist(CA_AUDITLOG)
    55   | #define ca_set_auditlog	ca_set_dirlist(CA_AUDITLOG)
    56   |
    57   | #define ca_get_updlog	ca_get_dirlist(CA_UPDLOG)
    58   | #define ca_set_updlog	ca_set_dirlist(CA_UPDLOG)
    59   |
    60   | #define ca_get_acklog	ca_get_dirlist(CA_ACKLOG)
    61   | #define ca_set_acklog	ca_set_dirlist(CA_ACKLOG)
    62   |
    63   | #define ca_get_lockdir	ca_get_dirlist(CA_LOCKDIR)
    64   | #define ca_set_lockdir	ca_set_dirlist(CA_LOCKDIR)
    65   |
    66   | #define ca_get_pidfile	ca_get_string(CA_PIDFILE)
    67   | #define ca_set_pidfile	ca_set_string(CA_PIDFILE)
    68   |
    69   | #define ca_get_updatelock	ca_get_string(CA_UPDATELOCK)
    70   | #define ca_set_updatelock	ca_set_string(CA_UPDATELOCK)
    71   |
    72   | #define ca_get_cleanlock	ca_get_string(CA_CLEANLOCK)
    73   | #define ca_set_cleanlock	ca_set_string(CA_CLEANLOCK)
    74   |
    75   | #define ca_get_serialdir	ca_get_dirlist(CA_SERIALDIR)
    76   | #define ca_set_serialdir	ca_set_dirlist(CA_SERIALDIR)
    77   |
    78   | #define ca_get_oldserialdir	ca_get_dirlist(CA_OLDSERIALDIR)
    79   | #define ca_set_oldserialdir	ca_set_dirlist(CA_OLDSERIALDIR)
    80   |
    81   | #define ca_get_serialincomingdir	ca_get_dirlist(CA_SERIALINCOMINGDIR)
    82   | #define ca_set_serialincomingdir	ca_set_dirlist(CA_SERIALINCOMINGDIR)
    83   |
    84   | #define ca_get_keepopen	ca_get_int(CA_KEEPOPEN)
    85   | #define ca_set_keepopen	ca_set_int(CA_KEEPOPEN)
    86   |
    87   | #define ca_get_allocmnt	ca_get_string(CA_ALLOCMNT)
    88   | #define ca_set_allocmnt	ca_set_string(CA_ALLOCMNT)
    89   |
    90   | #define ca_get_getupdatesfrom	ca_get_string(CA_GETUPDATESFROM)
    91   | #define ca_set_getupdatesfrom	ca_set_string(CA_GETUPDATESFROM)
    92   |
    93   | #define ca_get_whoisupdfrom	ca_get_string(CA_WHOISUPDFROM)
    94   | #define ca_set_whoisupdfrom	ca_set_string(CA_WHOISUPDFROM)
    95   |
    96   | #define ca_get_denywhoisaccess	ca_get_string(CA_DENYWHOISACCESS)
    97   | #define ca_set_denywhoisaccess	ca_set_string(CA_DENYWHOISACCESS)
    98   |
    99   | #define ca_get_tmpdir	ca_get_dirlist(CA_TMPDIR)
    100  | #define ca_set_tmpdir	ca_set_dirlist(CA_TMPDIR)
    101  |
    102  | #define ca_get_pgpv	ca_get_dirlist(CA_PGPV)
    103  | #define ca_set_pgpv	ca_set_dirlist(CA_PGPV)
    104  |
    105  | #define ca_get_pgpk	ca_get_dirlist(CA_PGPK)
    106  | #define ca_set_pgpk	ca_set_dirlist(CA_PGPK)
    107  |
    108  | #define ca_get_pgppath	ca_get_dirlist(CA_PGPPATH)
    109  | #define ca_set_pgppath	ca_set_dirlist(CA_PGPPATH)
    110  |
    111  | #define ca_get_mailcmd	ca_get_dirlist(CA_MAILCMD)
    112  | #define ca_set_mailcmd	ca_set_dirlist(CA_MAILCMD)
    113  |
    114  | #define ca_get_overflowsize	ca_get_int(CA_OVERFLOWSIZE)
    115  | #define ca_set_overflowsize	ca_set_int(CA_OVERFLOWSIZE)
    116  |
    117  | #define ca_get_dbcachesize	ca_get_int(CA_DBCACHESIZE)
    118  | #define ca_set_dbcachesize	ca_set_int(CA_DBCACHESIZE)
    119  |
    120  | #define ca_get_nrofnames	ca_get_int(CA_NROFNAMES)
    121  | #define ca_set_nrofnames	ca_set_int(CA_NROFNAMES)
    122  |
    123  | #define ca_get_defmail	ca_get_string(CA_DEFMAIL)
    124  | #define ca_set_defmail	ca_set_string(CA_DEFMAIL)
    125  |
    126  | #define ca_get_humailbox	ca_get_string(CA_HUMAILBOX)
    127  | #define ca_set_humailbox	ca_set_string(CA_HUMAILBOX)
    128  |
    129  | #define ca_get_autobox	ca_get_string(CA_AUTOBOX)
    130  | #define ca_set_autobox	ca_set_string(CA_AUTOBOX)
    131  |
    132  | #define ca_get_duplicatepersoncheck	ca_get_string(CA_DUPLICATEPERSONCHECK)
    133  | #define ca_set_duplicatepersoncheck	ca_set_string(CA_DUPLICATEPERSONCHECK)
    134  |
    135  | #define ca_get_replybanner	ca_get_string(CA_REPLYBANNER)
    136  | #define ca_set_replybanner	ca_set_string(CA_REPLYBANNER)
    137  |
    138  | #define ca_get_nomatch	ca_get_string(CA_NOMATCH)
    139  | #define ca_set_nomatch	ca_set_string(CA_NOMATCH)
    140  |
    141  | #define ca_get_cn_subject_add	ca_get_string(CA_CN_SUBJECT_ADD)
    142  | #define ca_set_cn_subject_add	ca_set_string(CA_CN_SUBJECT_ADD)
    143  |
    144  | #define ca_get_cn_subject_del	ca_get_string(CA_CN_SUBJECT_DEL)
    145  | #define ca_set_cn_subject_del	ca_set_string(CA_CN_SUBJECT_DEL)
    146  |
    147  | #define ca_get_cn_explain_add	ca_get_string(CA_CN_EXPLAIN_ADD)
    148  | #define ca_set_cn_explain_add	ca_set_string(CA_CN_EXPLAIN_ADD)
    149  |
    150  | #define ca_get_cn_explain_del	ca_get_string(CA_CN_EXPLAIN_DEL)
    151  | #define ca_set_cn_explain_del	ca_set_string(CA_CN_EXPLAIN_DEL)
    152  |
    153  | #define ca_get_cn_overlap_add	ca_get_string(CA_CN_OVERLAP_ADD)
    154  | #define ca_set_cn_overlap_add	ca_set_string(CA_CN_OVERLAP_ADD)
    155  |
    156  | #define ca_get_cn_overlap_del	ca_get_string(CA_CN_OVERLAP_DEL)
    157  | #define ca_set_cn_overlap_del	ca_set_string(CA_CN_OVERLAP_DEL)
    158  |
    159  | #define ca_get_cno_subject_add	ca_get_string(CA_CNO_SUBJECT_ADD)
    160  | #define ca_set_cno_subject_add	ca_set_string(CA_CNO_SUBJECT_ADD)
    161  |
    162  | #define ca_get_cno_subject_del	ca_get_string(CA_CNO_SUBJECT_DEL)
    163  | #define ca_set_cno_subject_del	ca_set_string(CA_CNO_SUBJECT_DEL)
    164  |
    165  | #define ca_get_cno_explain_add	ca_get_string(CA_CNO_EXPLAIN_ADD)
    166  | #define ca_set_cno_explain_add	ca_set_string(CA_CNO_EXPLAIN_ADD)
    167  |
    168  | #define ca_get_cno_explain_del	ca_get_string(CA_CNO_EXPLAIN_DEL)
    169  | #define ca_set_cno_explain_del	ca_set_string(CA_CNO_EXPLAIN_DEL)
    170  |
    171  | #define ca_get_cno_overlap_add	ca_get_string(CA_CNO_OVERLAP_ADD)
    172  | #define ca_set_cno_overlap_add	ca_set_string(CA_CNO_OVERLAP_ADD)
    173  |
    174  | #define ca_get_cno_overlap_del	ca_get_string(CA_CNO_OVERLAP_DEL)
    175  | #define ca_set_cno_overlap_del	ca_set_string(CA_CNO_OVERLAP_DEL)
    176  |
    177  | #define ca_get_mailtxt	ca_get_string(CA_MAILTXT)
    178  | #define ca_set_mailtxt	ca_set_string(CA_MAILTXT)
    179  |
    180  | #define ca_get_mheader	ca_get_string(CA_MHEADER)
    181  | #define ca_set_mheader	ca_set_string(CA_MHEADER)
    182  |
    183  | #define ca_get_failuretxt	ca_get_string(CA_FAILURETXT)
    184  | #define ca_set_failuretxt	ca_set_string(CA_FAILURETXT)
    185  |
    186  | #define ca_get_successtxt	ca_get_string(CA_SUCCESSTXT)
    187  | #define ca_set_successtxt	ca_set_string(CA_SUCCESSTXT)
    188  |
    189  | #define ca_get_helpheader	ca_get_string(CA_HELPHEADER)
    190  | #define ca_set_helpheader	ca_set_string(CA_HELPHEADER)
    191  |
    192  | #define ca_get_ackerr	ca_get_string(CA_ACKERR)
    193  | #define ca_set_ackerr	ca_set_string(CA_ACKERR)
    194  |
    195  | #define ca_get_ackok	ca_get_string(CA_ACKOK)
    196  | #define ca_set_ackok	ca_set_string(CA_ACKOK)
    197  |
    198  | #define ca_get_acksig	ca_get_string(CA_ACKSIG)
    199  | #define ca_set_acksig	ca_set_string(CA_ACKSIG)
    200  |
    201  | #define ca_get_notitxt	ca_get_string(CA_NOTITXT)
    202  | #define ca_set_notitxt	ca_set_string(CA_NOTITXT)
    203  |
    204  | #define ca_get_notimailtxt	ca_get_string(CA_NOTIMAILTXT)
    205  | #define ca_set_notimailtxt	ca_set_string(CA_NOTIMAILTXT)
    206  |
    207  | #define ca_get_notinetworktxt	ca_get_string(CA_NOTINETWORKTXT)
    208  | #define ca_set_notinetworktxt	ca_set_string(CA_NOTINETWORKTXT)
    209  |
    210  | #define ca_get_nheader	ca_get_string(CA_NHEADER)
    211  | #define ca_set_nheader	ca_set_string(CA_NHEADER)
    212  |
    213  | #define ca_get_fwheader	ca_get_string(CA_FWHEADER)
    214  | #define ca_set_fwheader	ca_set_string(CA_FWHEADER)
    215  |
    216  | #define ca_get_fwtxt	ca_get_string(CA_FWTXT)
    217  | #define ca_set_fwtxt	ca_set_string(CA_FWTXT)
    218  |
    219  | #define ca_get_fwmailtxt	ca_get_string(CA_FWMAILTXT)
    220  | #define ca_set_fwmailtxt	ca_set_string(CA_FWMAILTXT)
    221  |
    222  | #define ca_get_fwnetworktxt	ca_get_string(CA_FWNETWORKTXT)
    223  | #define ca_set_fwnetworktxt	ca_set_string(CA_FWNETWORKTXT)
    224  |
    225  | #define ca_get_mtfwheader	ca_get_string(CA_MTFWHEADER)
    226  | #define ca_set_mtfwheader	ca_set_string(CA_MTFWHEADER)
    227  |
    228  | #define ca_get_mtfwtxt	ca_get_string(CA_MTFWTXT)
    229  | #define ca_set_mtfwtxt	ca_set_string(CA_MTFWTXT)
    230  |
    231  | #define ca_get_denyaccesstxt	ca_get_string(CA_DENYACCESSTXT)
    232  | #define ca_set_denyaccesstxt	ca_set_string(CA_DENYACCESSTXT)
    233  |
    234  | #define ca_get_referraltxt	ca_get_string(CA_REFERRALTXT)
    235  | #define ca_set_referraltxt	ca_set_string(CA_REFERRALTXT)
    236  |
    237  | #define ca_get_referralerrortxt	ca_get_string(CA_REFERRALERRORTXT)
    238  | #define ca_set_referralerrortxt	ca_set_string(CA_REFERRALERRORTXT)
    239  |
    240  | #define ca_get_referrallooperrortxt	ca_get_string(REFERRALLOOPERRORTXT)
    241  | #define ca_set_referrallooperrortxt	ca_set_string(REFERRALLOOPERRORTXT)
    242  |
    243  | #define ca_get_referraltimeouttxt	ca_get_string(REFERRALTIMEOUTTXT)
    244  | #define ca_set_referraltimeouttxt	ca_set_string(REFERRALTIMEOUTTXT)
    245  |
    246  | #define ca_get_referraltrunctxt	ca_get_string(REFERRALTRUNCTXT)
    247  | #define ca_set_referraltrunctxt	ca_set_string(REFERRALTRUNCTXT)
    248  |
    249  | #define ca_get_referralendtxt	ca_get_string(REFERRALENDTXT)
    250  | #define ca_set_referralendtxt	ca_set_string(REFERRALENDTXT)
    251  |
    252  | #define ca_get_referraltimeout	ca_get_string(REFERRALTIMEOUT)
    253  | #define ca_set_referraltimeout	ca_set_string(REFERRALTIMEOUT)
    254  |
    255  | #define ca_get_referralmaxlines	ca_get_string(REFERRALMAXLINES)
    256  | #define ca_set_referralmaxlines	ca_set_string(REFERRALMAXLINES)
    257  |
    258  | #define ca_get_rights	ca_get_string(RIGHTS)
    259  | #define ca_set_rights	ca_set_string(RIGHTS)
    260  |
    261  | #define ca_get_country	ca_get_string(COUNTRY)
    262  | #define ca_set_country	ca_set_string(COUNTRY)
    263  |
    264  | #define ca_get_dictionary ca_getDictionary(dictionary, VARS)
    265  |