Source File modules/ca/ca_macros.h

    1    | /***************************************
    2    |   $Revision:
    3    |
    4    |   CA module: Macro definitions of the get and set functions.
    5    |
    6    |   Status: NOT REVIEWED, NOT TESTED
    7    |
    8    |   Author(s):       Ambrose Magee
    9    |
    10   | ******************/ /******************
    11   | Modification History:
    12   |
    13   | ******************/
    14   |
    15   | /************************************
    16   | Copyright (c) 2000                              RIPE NCC
    17   |
    18   | All Rights Reserved
    19   |
    20   | Permission to use, copy, modify, and distribute this software and its
    21   | documentation for any purpose and without fee is hereby granted,
    22   | provided that the above copyright notice appear in all copies and that
    23   | both that copyright notice and this permission notice appear in
    24   | supporting documentation, and that the name of the author not be
    25   | used in advertising or publicity pertaining to distribution of the
    26   | software without specific, written prior permission.
    27   |
    28   | THE AUTHOR DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE, INCLUDING
    29   | ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS; IN NO EVENT SHALL
    30   | AUTHOR BE LIABLE FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR ANY
    31   | DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN
    32   | AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
    33   | OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
    34   | ***************************************/
    35   |
    36   | #ifndef CA_MACROS
    37   | /* Include definitions of Macros. */
    38   | #define CA_MACROS
    39   |
    40   | #include "ca_adminAttribs.h"
    41   |
    42   | /* Macro defintions of the get and set functions. */
    43   |
    44   | #define ca_get_bindport	ca_get_int(CA_BINDPORT)
    45   | #define ca_set_bindport	ca_set_int(CA_BINDPORT)
    46   |
    47   | #define ca_get_help	ca_get_dirlist(CA_HELP)
    48   | #define ca_set_help	ca_set_dirlist(CA_HELP)
    49   |
    50   | #define ca_get_replybanner	ca_get_string(CA_REPLYBANNER)
    51   | #define ca_set_replybanner	ca_set_string(CA_REPLYBANNER)
    52   |
    53   | #define ca_get_source	ca_get_source(CA_SOURCE)
    54   | #define ca_set_source	ca_set_source(CA_SOURCE)
    55   |
    56   | #define ca_get_testmode	ca_get_boolean(CA_TESTMODE)
    57   | #define ca_set_testmode	ca_set_boolean(CA_TESTMODE)
    58   |
    59   | #define ca_get_overridecryptedpw	ca_get_string(CA_OVERRIDECRYPTEDPW)
    60   | #define ca_set_overridecryptedpw	ca_set_string(CA_OVERRIDECRYPTEDPW)
    61   |
    62   | #define ca_get_whoishelp	ca_get_dirlist(CA_WHOISHELP)
    63   | #define ca_set_whoishelp	ca_set_dirlist(CA_WHOISHELP)
    64   |
    65   | #define ca_get_autodbmhelp	ca_get_dirlist(CA_AUTODBMHELP)
    66   | #define ca_set_autodbmhelp	ca_set_dirlist(CA_AUTODBMHELP)
    67   |
    68   | #define ca_get_attdesc	ca_get_dirlist(CA_ATTDESC)
    69   | #define ca_set_attdesc	ca_set_dirlist(CA_ATTDESC)
    70   |
    71   | #define ca_get_deflook	ca_get_source(CA_DEFLOOK)
    72   | #define ca_set_deflook	ca_set_source(CA_DEFLOOK)
    73   |
    74   | #define ca_get_dbfile	ca_get_dirlist(CA_DBFILE)
    75   | #define ca_set_dbfile	ca_set_dirlist(CA_DBFILE)
    76   |
    77   | #define ca_get_canupd	ca_get_source(CA_CANUPD)
    78   | #define ca_set_canupd	ca_set_source(CA_CANUPD)
    79   |
    80   | #define ca_get_crossnotifysources	ca_get_source(CA_CROSSNOTIFYSOURCES)
    81   | #define ca_set_crossnotifysources	ca_set_source(CA_CROSSNOTIFYSOURCES)
    82   |
    83   | #define ca_get_uid	ca_get_int(CA_UID)
    84   | #define ca_set_uid	ca_set_int(CA_UID)
    85   |
    86   | #define ca_get_qrylog	ca_get_dirlist(CA_QRYLOG)
    87   | #define ca_set_qrylog	ca_set_dirlist(CA_QRYLOG)
    88   |
    89   | #define ca_get_qry2log	ca_get_dirlist(CA_QRY2LOG)
    90   | #define ca_set_qry2log	ca_set_dirlist(CA_QRY2LOG)
    91   |
    92   | #define ca_get_errlog	ca_get_dirlist(CA_ERRLOG)
    93   | #define ca_set_errlog	ca_set_dirlist(CA_ERRLOG)
    94   |
    95   | #define ca_get_auditlog	ca_get_dirlist(CA_AUDITLOG)
    96   | #define ca_set_auditlog	ca_set_dirlist(CA_AUDITLOG)
    97   |
    98   | #define ca_get_updlog	ca_get_dirlist(CA_UPDLOG)
    99   | #define ca_set_updlog	ca_set_dirlist(CA_UPDLOG)
    100  |
    101  | #define ca_get_acklog	ca_get_dirlist(CA_ACKLOG)
    102  | #define ca_set_acklog	ca_set_dirlist(CA_ACKLOG)
    103  |
    104  | #define ca_get_lockdir	ca_get_dirlist(CA_LOCKDIR)
    105  | #define ca_set_lockdir	ca_set_dirlist(CA_LOCKDIR)
    106  |
    107  | #define ca_get_pidfile	ca_get_string(CA_PIDFILE)
    108  | #define ca_set_pidfile	ca_set_string(CA_PIDFILE)
    109  |
    110  | #define ca_get_updatelock	ca_get_string(CA_UPDATELOCK)
    111  | #define ca_set_updatelock	ca_set_string(CA_UPDATELOCK)
    112  |
    113  | #define ca_get_cleanlock	ca_get_string(CA_CLEANLOCK)
    114  | #define ca_set_cleanlock	ca_set_string(CA_CLEANLOCK)
    115  |
    116  | #define ca_get_serialdir	ca_get_dirlist(CA_SERIALDIR)
    117  | #define ca_set_serialdir	ca_set_dirlist(CA_SERIALDIR)
    118  |
    119  | #define ca_get_oldserialdir	ca_get_dirlist(CA_OLDSERIALDIR)
    120  | #define ca_set_oldserialdir	ca_set_dirlist(CA_OLDSERIALDIR)
    121  |
    122  | #define ca_get_serialincomingdir	ca_get_dirlist(CA_SERIALINCOMINGDIR)
    123  | #define ca_set_serialincomingdir	ca_set_dirlist(CA_SERIALINCOMINGDIR)
    124  |
    125  | #define ca_get_keepopen	ca_get_int(CA_KEEPOPEN)
    126  | #define ca_set_keepopen	ca_set_int(CA_KEEPOPEN)
    127  |
    128  | #define ca_get_allocmnt	ca_get_string(CA_ALLOCMNT)
    129  | #define ca_set_allocmnt	ca_set_string(CA_ALLOCMNT)
    130  |
    131  | #define ca_get_getupdatesfrom	ca_get_string(CA_GETUPDATESFROM)
    132  | #define ca_set_getupdatesfrom	ca_set_string(CA_GETUPDATESFROM)
    133  |
    134  | #define ca_get_whoisupdfrom	ca_get_string(CA_WHOISUPDFROM)
    135  | #define ca_set_whoisupdfrom	ca_set_string(CA_WHOISUPDFROM)
    136  |
    137  | #define ca_get_denywhoisaccess	ca_get_string(CA_DENYWHOISACCESS)
    138  | #define ca_set_denywhoisaccess	ca_set_string(CA_DENYWHOISACCESS)
    139  |
    140  | #define ca_get_tmpdir	ca_get_dirlist(CA_TMPDIR)
    141  | #define ca_set_tmpdir	ca_set_dirlist(CA_TMPDIR)
    142  |
    143  | #define ca_get_gpgcmd	ca_get_dirlist(CA_GPGCMD)
    144  | #define ca_set_gpgcmd	ca_set_dirlist(CA_GPGCMD)
    145  |
    146  | #define ca_get_pgppath	ca_get_dirlist(CA_PGPPATH)
    147  | #define ca_set_pgppath	ca_set_dirlist(CA_PGPPATH)
    148  |
    149  | #define ca_get_mailcmd	ca_get_dirlist(CA_MAILCMD)
    150  | #define ca_set_mailcmd	ca_set_dirlist(CA_MAILCMD)
    151  |
    152  | #define ca_get_overflowsize	ca_get_int(CA_OVERFLOWSIZE)
    153  | #define ca_set_overflowsize	ca_set_int(CA_OVERFLOWSIZE)
    154  |
    155  | #define ca_get_dbcachesize	ca_get_int(CA_DBCACHESIZE)
    156  | #define ca_set_dbcachesize	ca_set_int(CA_DBCACHESIZE)
    157  |
    158  | #define ca_get_nrofnames	ca_get_int(CA_NROFNAMES)
    159  | #define ca_set_nrofnames	ca_set_int(CA_NROFNAMES)
    160  |
    161  | #define ca_get_defmail	ca_get_string(CA_DEFMAIL)
    162  | #define ca_set_defmail	ca_set_string(CA_DEFMAIL)
    163  |
    164  | #define ca_get_humailbox	ca_get_string(CA_HUMAILBOX)
    165  | #define ca_set_humailbox	ca_set_string(CA_HUMAILBOX)
    166  |
    167  | #define ca_get_autobox	ca_get_string(CA_AUTOBOX)
    168  | #define ca_set_autobox	ca_set_string(CA_AUTOBOX)
    169  |
    170  | #define ca_get_duplicatepersoncheck	ca_get_string(CA_DUPLICATEPERSONCHECK)
    171  | #define ca_set_duplicatepersoncheck	ca_set_string(CA_DUPLICATEPERSONCHECK)
    172  |
    173  | #define ca_get_replybanner	ca_get_string(CA_REPLYBANNER)
    174  | #define ca_set_replybanner	ca_set_string(CA_REPLYBANNER)
    175  |
    176  | #define ca_get_nomatch	ca_get_string(CA_NOMATCH)
    177  | #define ca_set_nomatch	ca_set_string(CA_NOMATCH)
    178  |
    179  | #define ca_get_cn_subject_add	ca_get_string(CA_CN_SUBJECT_ADD)
    180  | #define ca_set_cn_subject_add	ca_set_string(CA_CN_SUBJECT_ADD)
    181  |
    182  | #define ca_get_cn_subject_del	ca_get_string(CA_CN_SUBJECT_DEL)
    183  | #define ca_set_cn_subject_del	ca_set_string(CA_CN_SUBJECT_DEL)
    184  |
    185  | #define ca_get_cn_explain_add	ca_get_string(CA_CN_EXPLAIN_ADD)
    186  | #define ca_set_cn_explain_add	ca_set_string(CA_CN_EXPLAIN_ADD)
    187  |
    188  | #define ca_get_cn_explain_del	ca_get_string(CA_CN_EXPLAIN_DEL)
    189  | #define ca_set_cn_explain_del	ca_set_string(CA_CN_EXPLAIN_DEL)
    190  |
    191  | #define ca_get_cn_overlap_add	ca_get_string(CA_CN_OVERLAP_ADD)
    192  | #define ca_set_cn_overlap_add	ca_set_string(CA_CN_OVERLAP_ADD)
    193  |
    194  | #define ca_get_cn_overlap_del	ca_get_string(CA_CN_OVERLAP_DEL)
    195  | #define ca_set_cn_overlap_del	ca_set_string(CA_CN_OVERLAP_DEL)
    196  |
    197  | #define ca_get_cno_subject_add	ca_get_string(CA_CNO_SUBJECT_ADD)
    198  | #define ca_set_cno_subject_add	ca_set_string(CA_CNO_SUBJECT_ADD)
    199  |
    200  | #define ca_get_cno_subject_del	ca_get_string(CA_CNO_SUBJECT_DEL)
    201  | #define ca_set_cno_subject_del	ca_set_string(CA_CNO_SUBJECT_DEL)
    202  |
    203  | #define ca_get_cno_explain_add	ca_get_string(CA_CNO_EXPLAIN_ADD)
    204  | #define ca_set_cno_explain_add	ca_set_string(CA_CNO_EXPLAIN_ADD)
    205  |
    206  | #define ca_get_cno_explain_del	ca_get_string(CA_CNO_EXPLAIN_DEL)
    207  | #define ca_set_cno_explain_del	ca_set_string(CA_CNO_EXPLAIN_DEL)
    208  |
    209  | #define ca_get_cno_overlap_add	ca_get_string(CA_CNO_OVERLAP_ADD)
    210  | #define ca_set_cno_overlap_add	ca_set_string(CA_CNO_OVERLAP_ADD)
    211  |
    212  | #define ca_get_cno_overlap_del	ca_get_string(CA_CNO_OVERLAP_DEL)
    213  | #define ca_set_cno_overlap_del	ca_set_string(CA_CNO_OVERLAP_DEL)
    214  |
    215  | #define ca_get_mailtxt	ca_get_string(CA_MAILTXT)
    216  | #define ca_set_mailtxt	ca_set_string(CA_MAILTXT)
    217  |
    218  | #define ca_get_mheader	ca_get_string(CA_MHEADER)
    219  | #define ca_set_mheader	ca_set_string(CA_MHEADER)
    220  |
    221  | #define ca_get_failuretxt	ca_get_string(CA_FAILURETXT)
    222  | #define ca_set_failuretxt	ca_set_string(CA_FAILURETXT)
    223  |
    224  | #define ca_get_successtxt	ca_get_string(CA_SUCCESSTXT)
    225  | #define ca_set_successtxt	ca_set_string(CA_SUCCESSTXT)
    226  |
    227  | #define ca_get_helpheader	ca_get_string(CA_HELPHEADER)
    228  | #define ca_set_helpheader	ca_set_string(CA_HELPHEADER)
    229  |
    230  | #define ca_get_ackerr	ca_get_string(CA_ACKERR)
    231  | #define ca_set_ackerr	ca_set_string(CA_ACKERR)
    232  |
    233  | #define ca_get_ackok	ca_get_string(CA_ACKOK)
    234  | #define ca_set_ackok	ca_set_string(CA_ACKOK)
    235  |
    236  | #define ca_get_acksig	ca_get_string(CA_ACKSIG)
    237  | #define ca_set_acksig	ca_set_string(CA_ACKSIG)
    238  |
    239  | #define ca_get_notitxt	ca_get_string(CA_NOTITXT)
    240  | #define ca_set_notitxt	ca_set_string(CA_NOTITXT)
    241  |
    242  | #define ca_get_notimailtxt	ca_get_string(CA_NOTIMAILTXT)
    243  | #define ca_set_notimailtxt	ca_set_string(CA_NOTIMAILTXT)
    244  |
    245  | #define ca_get_notinetworktxt	ca_get_string(CA_NOTINETWORKTXT)
    246  | #define ca_set_notinetworktxt	ca_set_string(CA_NOTINETWORKTXT)
    247  |
    248  | #define ca_get_nheader	ca_get_string(CA_NHEADER)
    249  | #define ca_set_nheader	ca_set_string(CA_NHEADER)
    250  |
    251  | #define ca_get_fwheader	ca_get_string(CA_FWHEADER)
    252  | #define ca_set_fwheader	ca_set_string(CA_FWHEADER)
    253  |
    254  | #define ca_get_fwtxt	ca_get_string(CA_FWTXT)
    255  | #define ca_set_fwtxt	ca_set_string(CA_FWTXT)
    256  |
    257  | #define ca_get_fwmailtxt	ca_get_string(CA_FWMAILTXT)
    258  | #define ca_set_fwmailtxt	ca_set_string(CA_FWMAILTXT)
    259  |
    260  | #define ca_get_fwnetworktxt	ca_get_string(CA_FWNETWORKTXT)
    261  | #define ca_set_fwnetworktxt	ca_set_string(CA_FWNETWORKTXT)
    262  |
    263  | #define ca_get_mtfwheader	ca_get_string(CA_MTFWHEADER)
    264  | #define ca_set_mtfwheader	ca_set_string(CA_MTFWHEADER)
    265  |
    266  | #define ca_get_mtfwtxt	ca_get_string(CA_MTFWTXT)
    267  | #define ca_set_mtfwtxt	ca_set_string(CA_MTFWTXT)
    268  |
    269  | #define ca_get_denyaccesstxt	ca_get_string(CA_DENYACCESSTXT)
    270  | #define ca_set_denyaccesstxt	ca_set_string(CA_DENYACCESSTXT)
    271  |
    272  | #define ca_get_referraltxt	ca_get_string(CA_REFERRALTXT)
    273  | #define ca_set_referraltxt	ca_set_string(CA_REFERRALTXT)
    274  |
    275  | #define ca_get_referralerrortxt	ca_get_string(CA_REFERRALERRORTXT)
    276  | #define ca_set_referralerrortxt	ca_set_string(CA_REFERRALERRORTXT)
    277  |
    278  | #define ca_get_referrallooperrortxt	ca_get_string(CA_REFERRALLOOPERRORTXT)
    279  | #define ca_set_referrallooperrortxt	ca_set_string(CA_REFERRALLOOPERRORTXT)
    280  |
    281  | #define ca_get_referraltimeouttxt	ca_get_string(CA_REFERRALTIMEOUTTXT)
    282  | #define ca_set_referraltimeouttxt	ca_set_string(CA_REFERRALTIMEOUTTXT)
    283  |
    284  | #define ca_get_referraltrunctxt	ca_get_string(CA_REFERRALTRUNCTXT)
    285  | #define ca_set_referraltrunctxt	ca_set_string(CA_REFERRALTRUNCTXT)
    286  |
    287  | #define ca_get_referralendtxt	ca_get_string(CA_REFERRALENDTXT)
    288  | #define ca_set_referralendtxt	ca_set_string(CA_REFERRALENDTXT)
    289  |
    290  | #define ca_get_referraltimeout	ca_get_int(CA_REFERRALTIMEOUT)
    291  | #define ca_set_referraltimeout	ca_set_int(CA_REFERRALTIMEOUT)
    292  |
    293  | #define ca_get_referralmaxlines	ca_get_int(CA_REFERRALMAXLINES)
    294  | #define ca_set_referralmaxlines	ca_set_int(CA_REFERRALMAXLINES)
    295  |
    296  | #define ca_get_rights	ca_get_string(CA_RIGHTS)
    297  | #define ca_set_rights	ca_set_string(CA_RIGHTS)
    298  |
    299  | #define ca_get_country	ca_get_string(CA_COUNTRY)
    300  | #define ca_set_country	ca_set_string(CA_COUNTRY)
    301  |
    302  | #define ca_get_dictionary ca_getDictionary(dictionary, VARS)
    303  |
    304  | #define ca_get_srcname(X)	ca_srchandle2Strelement((X), CA_SRCNAME)
    305  |
    306  | #define ca_get_srccanupd(X)	ca_srchandle2Strelement((X), CA_DBCANUPD)
    307  |
    308  | #define ca_get_srcdeflook(X) ca_srchandle2Strelement((X), CA_DBDEFLOOK)
    309  |
    310  | #define ca_get_srcdbmachine(X) ca_srchandle2Strelement((X), CA_DBMACHINE)
    311  |
    312  | #define ca_get_srcdbuser(X) ca_srchandle2Strelement((X), CA_DBUSER)
    313  |
    314  | #define ca_get_srcdbpassword(X) ca_srchandle2Strelement((X), CA_DBPASSWORD)
    315  |
    316  | #define ca_get_srcdbname(X) ca_srchandle2Strelement((X), CA_DBNAME)
    317  |
    318  | #define ca_get_srcdbport(X) ca_srchandle2Intelement((X), CA_DBPORT)
    319  |
    320  | #define ca_get_srcnrtmhost(X) ca_srchandle2Strelement((X), CA_NRTMHOST)
    321  |
    322  | #define ca_get_srcnrtmlog(X) ca_srchandle2Strelement((X), CA_NRTMLOG)
    323  |
    324  | #define ca_get_srcmode(X) ca_srchandle2Intelement((X), CA_SRCMODE)
    325  |
    326  | #define ca_get_srcnrtmport(X) ca_srchandle2Intelement((X), CA_NRTMPORT)
    327  |
    328  | #define ca_get_srcnrtmdelay(X) ca_srchandle2Intelement((X), CA_NRTMDELAY)
    329  |
    330  | #define ca_get_srcnrtmprotocolvers(X) ca_srchandle2Intelement((X), CA_NRTMPROTOCOLVERS)
    331  |
    332  | #define ca_get_srcupdateport(X) ca_srchandle2Intelement((X), CA_SRCUPDPORT)
    333  |
    334  | #define ca_get_notiflog ca_get_dirlist(CA_NOTIFLOG)
    335  | #define ca_set_notiflog ca_set_dirlist(CA_NOTIFLOG)
    336  |
    337  | #define ca_get_forwlog  ca_get_dirlist(CA_FORWLOG)
    338  | #define ca_set_forwlog  ca_set_dirlist(CA_FORWLOG)
    339  |
    340  | #define ca_get_crosslog ca_get_dirlist(CA_CROSSLOG)
    341  | #define ca_set_crosslog ca_set_dirlist(CA_CROSSLOG)
    342  |
    343  | #define ca_get_ripadminport ca_get_adminIntElement(CA_RIPADMIN, CA_ADMINPORT)
    344  | #define ca_get_ripadminuser ca_get_adminStrElement(CA_RIPADMIN, CA_ADMINUSER)
    345  |
    346  | #define ca_get_ripadmintable ca_get_adminStrElement(CA_RIPADMIN, CA_ADMINTABLE)
    347  |
    348  | #define ca_get_ripadminhost ca_get_adminStrElement(CA_RIPADMIN, CA_ADMINHOST)
    349  |
    350  | #define ca_get_ripadminpassword ca_get_adminStrElement(CA_RIPADMIN, CA_ADMINPASSWORD)
    351  |
    352  |
    353  | #define ca_get_updsrcname(X)	ca_UpdSrcHandle2StrElement((X), CA_SRCNAME)
    354  |
    355  | #define ca_get_updsrcdbmachine(X)	ca_UpdSrcHandle2StrElement((X), CA_DBMACHINE)
    356  |
    357  | #define ca_get_updsrcdbuser(X) ca_UpdSrcHandle2StrElement((X), CA_DBUSER)
    358  |
    359  | #define ca_get_updsrcdbpassword(X) ca_UpdSrcHandle2StrElement((X), CA_DBPASSWORD)
    360  |
    361  | #define ca_get_updsrcdbname(X)	ca_UpdSrcHandle2StrElement((X), CA_DBNAME)
    362  |
    363  | #define ca_get_updsrcwhoishost(X) ca_UpdSrcHandle2StrElement((X), CA_UPDSRCWHOISHOST)
    364  |
    365  | #define ca_get_updsrcdbport(X) ca_UpdSrcHandle2IntElement((X), CA_DBPORT)
    366  | #define ca_get_updqryport(X) ca_UpdSrcHandle2IntElement((X), CA_UPDSRCQRYPORT)
    367  |
    368  | #define ca_get_updupdport(X) ca_UpdSrcHandle2IntElement((X), CA_UPDSRCUPDPORT)
    369  |
    370  | #define ca_get_svwhois_port	ca_get_int(CA_SVWHOIS_PORT)
    371  | #define ca_set_svwhois_port	ca_set_int(CA_SVWHOIS_PORT)
    372  |
    373  | #define ca_get_svconfig_port	ca_get_int(CA_SVCONFIG_PORT)
    374  | #define ca_set_svconfig_port	ca_set_int(CA_SVCONFIG_PORT)
    375  |
    376  | #define ca_get_svmirror_port	ca_get_int(CA_SVMIRROR_PORT)
    377  | #define ca_set_svmirror_port	ca_set_int(CA_SVMIRROR_PORT)
    378  |
    379  | #define ca_get_sourcefile ca_get_dirlist(CA_SOURCEFILE)
    380  | #define ca_set_sourcefile ca_set_dirlist(CA_SOURCEFILE)
    381  |
    382  | #define ca_get_ac_decay_interval ca_get_int(CA_AC_DECAY_INTERVAL)
    383  | #define ca_set_ac_decay_interval ca_set_int(CA_AC_DECAY_INTERVAL)
    384  |
    385  | #define ca_get_ac_decay_halflife ca_get_int(CA_AC_DECAY_HALFLIFE)
    386  | #define ca_set_ac_decay_halflife ca_set_int(CA_AC_DECAY_HALFLIFE)
    387  |
    388  | #define ca_get_pw_resp_header	ca_get_string(CA_PW_RESP_HEADER)
    389  | #define ca_set_pw_resp_header	ca_set_string(CA_PW_RESP_HEADER)
    390  |
    391  | #define ca_get_pw_err_nokey	ca_get_string(CA_PW_ERR_NOKEY)
    392  | #define ca_set_pw_err_nokey	ca_set_string(CA_PW_ERR_NOKEY)
    393  |
    394  | #define ca_get_pw_help_file	ca_get_dirlist(CA_PW_HELP_FILE)
    395  | #define ca_set_pw_help_file	ca_set_dirlist(CA_PW_HELP_FILE)
    396  |
    397  | #define ca_get_pw_k_filter	ca_get_string(CA_PW_K_FILTER)
    398  | #define ca_set_pw_k_filter	ca_set_string(CA_PW_K_FILTER)
    399  |
    400  | #define ca_get_pw_limit_reached	ca_get_string(CA_PW_LIMIT_REACHED)
    401  | #define ca_set_pw_limit_reached	ca_set_string(CA_PW_LIMIT_REACHED)
    402  |
    403  | #define ca_get_pw_acl_addrpass	ca_get_string(CA_PW_ACL_ADDRPASS)
    404  | #define ca_set_pw_acl_addrpass	ca_set_string(CA_PW_ACL_ADDRPASS)
    405  |
    406  | #define ca_get_pw_acl_permdeny	ca_get_string(CA_PW_ACL_PERMDENY)
    407  | #define ca_set_pw_acl_permdeny	ca_set_string(CA_PW_ACL_PERMDENY)
    408  |
    409  | #define ca_get_pw_notfound	ca_get_string(CA_PW_NOTFOUND)
    410  | #define ca_set_pw_notfound	ca_set_string(CA_PW_NOTFOUND)
    411  |
    412  | #define ca_get_pw_connclosed	ca_get_string(CA_PW_CONNCLOSED)
    413  | #define ca_set_pw_connclosed	ca_set_string(CA_PW_CONNCLOSED)
    414  |
    415  | #define ca_get_pw_banner	ca_get_string(CA_PW_BANNER)
    416  | #define ca_set_pw_banner	ca_set_string(CA_PW_BANNER)
    417  |
    418  | #define ca_get_qc_badattr	ca_get_string(CA_QC_BADATTR)
    419  | #define ca_set_qc_badattr	ca_set_string(CA_QC_BADATTR)
    420  |
    421  | #define ca_get_qc_fmt_attrnotinv	ca_get_string(CA_QC_FMT_ATTRNOTINV)
    422  | #define ca_set_qc_fmt_attrnotinv	ca_set_string(CA_QC_FMT_ATTRNOTINV)
    423  |
    424  | #define ca_get_qc_fmt_badsource	ca_get_string(CA_QC_FMT_BADSOURCE)
    425  | #define ca_set_qc_fmt_badsource	ca_set_string(CA_QC_FMT_BADSOURCE)
    426  |
    427  | #define ca_get_qc_badobjtype	ca_get_string(CA_QC_BADOBJTYPE)
    428  | #define ca_set_qc_badobjtype	ca_set_string(CA_QC_BADOBJTYPE)
    429  |
    430  | #define ca_get_qi_ref_tmout	ca_get_string(CA_QI_REF_TMOUT)
    431  | #define ca_set_qi_ref_tmout	ca_set_string(CA_QI_REF_TMOUT)
    432  |
    433  | #define ca_get_qi_ref_overmaxlin	ca_get_string(CA_QI_REF_OVERMAXLIN)
    434  | #define ca_set_qi_ref_overmaxlin	ca_set_string(CA_QI_REF_OVERMAXLIN)
    435  |
    436  | #define ca_get_qi_ref_badhost	ca_get_string(CA_QI_REF_BADHOST)
    437  | #define ca_set_qi_ref_badhost	ca_set_string(CA_QI_REF_BADHOST)
    438  |
    439  | #define ca_get_qi_ref_hostnottresp	ca_get_string(CA_QI_REF_HOSTNOTTRESP)
    440  | #define ca_set_qi_ref_hostnottresp	ca_set_string(CA_QI_REF_HOSTNOTTRESP)
    441  |
    442  | #define ca_get_qi_fmt_refheader	ca_get_string(CA_QI_FMT_REFHEADER)
    443  | #define ca_set_qi_fmt_refheader	ca_set_string(CA_QI_FMT_REFHEADER)
    444  |
    445  | #define ca_get_er_def	ca_get_string(CA_ER_DEF)
    446  | #define ca_set_er_def	ca_set_string(CA_ER_DEF)
    447  |
    448  | #define ca_get_er_macro	ca_get_string(CA_ER_MACRO)
    449  | #define ca_set_er_macro	ca_set_string(CA_ER_MACRO)
    450  |
    451  | #define ca_get_er_ud_def	ca_get_dirlist(CA_ER_UD_DEF)
    452  | #define ca_set_er_ud_def	ca_set_dirlist(CA_ER_UD_DEF)
    453  |
    454  | #define ca_get_qi_reftrailer ca_get_string(CA_QI_REFTRAILER)
    455  | #define ca_set_qi_reftrailer ca_set_string(CA_QI_REFTRAILER)
    456  |
    457  | #endif	/* CA_MACROS */
    458  |