## include/ca_macros.h

/* [<][>][^][v][top][bottom][index][help] */

## FUNCTIONS

This source file includes following functions.

1. ca_get_srcname
2. ca_get_srccanupd
3. ca_get_srcdeflook
4. ca_get_srcdbmachine
5. ca_get_srcdbuser
6. ca_get_srcdbpassword
7. ca_get_srcdbname
8. ca_get_srcdbport
9. ca_get_srcnrtmhost
10. ca_get_srcnrtmlog
11. ca_get_srcmode
12. ca_get_srcnrtmport
13. ca_get_srcnrtmdelay
14. ca_get_srcnrtmprotocolvers
15. ca_get_srcupdateport
16. ca_get_updsrcname
17. ca_get_updsrcdbmachine
18. ca_get_updsrcdbuser
19. ca_get_updsrcdbpassword
20. ca_get_updsrcdbname
21. ca_get_updsrcwhoishost
22. ca_get_updsrcdbport
23. ca_get_updqryport
24. ca_get_updupdport

       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_pgpv     ca_get_dirlist(CA_PGPV)
     144 #define ca_set_pgpv     ca_set_dirlist(CA_PGPV)
     145
     146 #define ca_get_pgpk     ca_get_dirlist(CA_PGPK)
     147 #define ca_set_pgpk     ca_set_dirlist(CA_PGPK)
     148
     149 #define ca_get_pgppath  ca_get_dirlist(CA_PGPPATH)
     150 #define ca_set_pgppath  ca_set_dirlist(CA_PGPPATH)
     151
     152 #define ca_get_mailcmd  ca_get_dirlist(CA_MAILCMD)
     153 #define ca_set_mailcmd  ca_set_dirlist(CA_MAILCMD)
     154
     155 #define ca_get_overflowsize     ca_get_int(CA_OVERFLOWSIZE)
     156 #define ca_set_overflowsize     ca_set_int(CA_OVERFLOWSIZE)
     157
     158 #define ca_get_dbcachesize      ca_get_int(CA_DBCACHESIZE)
     159 #define ca_set_dbcachesize      ca_set_int(CA_DBCACHESIZE)
     160
     161 #define ca_get_nrofnames        ca_get_int(CA_NROFNAMES)
     162 #define ca_set_nrofnames        ca_set_int(CA_NROFNAMES)
     163
     164 #define ca_get_defmail  ca_get_string(CA_DEFMAIL)
     165 #define ca_set_defmail  ca_set_string(CA_DEFMAIL)
     166
     167 #define ca_get_humailbox        ca_get_string(CA_HUMAILBOX)
     168 #define ca_set_humailbox        ca_set_string(CA_HUMAILBOX)
     169
     170 #define ca_get_autobox  ca_get_string(CA_AUTOBOX)
     171 #define ca_set_autobox  ca_set_string(CA_AUTOBOX)
     172
     173 #define ca_get_duplicatepersoncheck     ca_get_string(CA_DUPLICATEPERSONCHECK)
     174 #define ca_set_duplicatepersoncheck     ca_set_string(CA_DUPLICATEPERSONCHECK)
     175
     176 #define ca_get_replybanner      ca_get_string(CA_REPLYBANNER)
     177 #define ca_set_replybanner      ca_set_string(CA_REPLYBANNER)
     178
     179 #define ca_get_nomatch  ca_get_string(CA_NOMATCH)
     180 #define ca_set_nomatch  ca_set_string(CA_NOMATCH)
     181
     182 #define ca_get_cn_subject_add   ca_get_string(CA_CN_SUBJECT_ADD)
     183 #define ca_set_cn_subject_add   ca_set_string(CA_CN_SUBJECT_ADD)
     184
     185 #define ca_get_cn_subject_del   ca_get_string(CA_CN_SUBJECT_DEL)
     186 #define ca_set_cn_subject_del   ca_set_string(CA_CN_SUBJECT_DEL)
     187
     188 #define ca_get_cn_explain_add   ca_get_string(CA_CN_EXPLAIN_ADD)
     189 #define ca_set_cn_explain_add   ca_set_string(CA_CN_EXPLAIN_ADD)
     190
     191 #define ca_get_cn_explain_del   ca_get_string(CA_CN_EXPLAIN_DEL)
     192 #define ca_set_cn_explain_del   ca_set_string(CA_CN_EXPLAIN_DEL)
     193
     194 #define ca_get_cn_overlap_add   ca_get_string(CA_CN_OVERLAP_ADD)
     195 #define ca_set_cn_overlap_add   ca_set_string(CA_CN_OVERLAP_ADD)
     196
     197 #define ca_get_cn_overlap_del   ca_get_string(CA_CN_OVERLAP_DEL)
     198 #define ca_set_cn_overlap_del   ca_set_string(CA_CN_OVERLAP_DEL)
     199
     200 #define ca_get_cno_subject_add  ca_get_string(CA_CNO_SUBJECT_ADD)
     201 #define ca_set_cno_subject_add  ca_set_string(CA_CNO_SUBJECT_ADD)
     202
     203 #define ca_get_cno_subject_del  ca_get_string(CA_CNO_SUBJECT_DEL)
     204 #define ca_set_cno_subject_del  ca_set_string(CA_CNO_SUBJECT_DEL)
     205
     206 #define ca_get_cno_explain_add  ca_get_string(CA_CNO_EXPLAIN_ADD)
     207 #define ca_set_cno_explain_add  ca_set_string(CA_CNO_EXPLAIN_ADD)
     208
     209 #define ca_get_cno_explain_del  ca_get_string(CA_CNO_EXPLAIN_DEL)
     210 #define ca_set_cno_explain_del  ca_set_string(CA_CNO_EXPLAIN_DEL)
     211
     212 #define ca_get_cno_overlap_add  ca_get_string(CA_CNO_OVERLAP_ADD)
     213 #define ca_set_cno_overlap_add  ca_set_string(CA_CNO_OVERLAP_ADD)
     214
     215 #define ca_get_cno_overlap_del  ca_get_string(CA_CNO_OVERLAP_DEL)
     216 #define ca_set_cno_overlap_del  ca_set_string(CA_CNO_OVERLAP_DEL)
     217
     218 #define ca_get_mailtxt  ca_get_string(CA_MAILTXT)
     219 #define ca_set_mailtxt  ca_set_string(CA_MAILTXT)
     220
     221 #define ca_get_mheader  ca_get_string(CA_MHEADER)
     222 #define ca_set_mheader  ca_set_string(CA_MHEADER)
     223
     224 #define ca_get_failuretxt       ca_get_string(CA_FAILURETXT)
     225 #define ca_set_failuretxt       ca_set_string(CA_FAILURETXT)
     226
     227 #define ca_get_successtxt       ca_get_string(CA_SUCCESSTXT)
     228 #define ca_set_successtxt       ca_set_string(CA_SUCCESSTXT)
     229
     230 #define ca_get_helpheader       ca_get_string(CA_HELPHEADER)
     231 #define ca_set_helpheader       ca_set_string(CA_HELPHEADER)
     232
     233 #define ca_get_ackerr   ca_get_string(CA_ACKERR)
     234 #define ca_set_ackerr   ca_set_string(CA_ACKERR)
     235
     236 #define ca_get_ackok    ca_get_string(CA_ACKOK)
     237 #define ca_set_ackok    ca_set_string(CA_ACKOK)
     238
     239 #define ca_get_acksig   ca_get_string(CA_ACKSIG)
     240 #define ca_set_acksig   ca_set_string(CA_ACKSIG)
     241
     242 #define ca_get_notitxt  ca_get_string(CA_NOTITXT)
     243 #define ca_set_notitxt  ca_set_string(CA_NOTITXT)
     244
     245 #define ca_get_notimailtxt      ca_get_string(CA_NOTIMAILTXT)
     246 #define ca_set_notimailtxt      ca_set_string(CA_NOTIMAILTXT)
     247
     248 #define ca_get_notinetworktxt   ca_get_string(CA_NOTINETWORKTXT)
     249 #define ca_set_notinetworktxt   ca_set_string(CA_NOTINETWORKTXT)
     250
     251 #define ca_get_nheader  ca_get_string(CA_NHEADER)
     252 #define ca_set_nheader  ca_set_string(CA_NHEADER)
     253
     254 #define ca_get_fwheader ca_get_string(CA_FWHEADER)
     255 #define ca_set_fwheader ca_set_string(CA_FWHEADER)
     256
     257 #define ca_get_fwtxt    ca_get_string(CA_FWTXT)
     258 #define ca_set_fwtxt    ca_set_string(CA_FWTXT)
     259
     260 #define ca_get_fwmailtxt        ca_get_string(CA_FWMAILTXT)
     261 #define ca_set_fwmailtxt        ca_set_string(CA_FWMAILTXT)
     262
     263 #define ca_get_fwnetworktxt     ca_get_string(CA_FWNETWORKTXT)
     264 #define ca_set_fwnetworktxt     ca_set_string(CA_FWNETWORKTXT)
     265
     266 #define ca_get_mtfwheader       ca_get_string(CA_MTFWHEADER)
     267 #define ca_set_mtfwheader       ca_set_string(CA_MTFWHEADER)
     268
     269 #define ca_get_mtfwtxt  ca_get_string(CA_MTFWTXT)
     270 #define ca_set_mtfwtxt  ca_set_string(CA_MTFWTXT)
     271
     272 #define ca_get_denyaccesstxt    ca_get_string(CA_DENYACCESSTXT)
     273 #define ca_set_denyaccesstxt    ca_set_string(CA_DENYACCESSTXT)
     274
     275 #define ca_get_referraltxt      ca_get_string(CA_REFERRALTXT)
     276 #define ca_set_referraltxt      ca_set_string(CA_REFERRALTXT)
     277
     278 #define ca_get_referralerrortxt ca_get_string(CA_REFERRALERRORTXT)
     279 #define ca_set_referralerrortxt ca_set_string(CA_REFERRALERRORTXT)
     280
     281 #define ca_get_referrallooperrortxt     ca_get_string(REFERRALLOOPERRORTXT)
     282 #define ca_set_referrallooperrortxt     ca_set_string(REFERRALLOOPERRORTXT)
     283
     284 #define ca_get_referraltimeouttxt       ca_get_string(REFERRALTIMEOUTTXT)
     285 #define ca_set_referraltimeouttxt       ca_set_string(REFERRALTIMEOUTTXT)
     286
     287 #define ca_get_referraltrunctxt ca_get_string(REFERRALTRUNCTXT)
     288 #define ca_set_referraltrunctxt ca_set_string(REFERRALTRUNCTXT)
     289
     290 #define ca_get_referralendtxt   ca_get_string(REFERRALENDTXT)
     291 #define ca_set_referralendtxt   ca_set_string(REFERRALENDTXT)
     292
     293 #define ca_get_referraltimeout  ca_get_string(REFERRALTIMEOUT)
     294 #define ca_set_referraltimeout  ca_set_string(REFERRALTIMEOUT)
     295
     296 #define ca_get_referralmaxlines ca_get_string(REFERRALMAXLINES)
     297 #define ca_set_referralmaxlines ca_set_string(REFERRALMAXLINES)
     298
     299 #define ca_get_rights   ca_get_string(RIGHTS)
     300 #define ca_set_rights   ca_set_string(RIGHTS)
     301
     302 #define ca_get_country  ca_get_string(CA_COUNTRY)
     303 #define ca_set_country  ca_set_string(CA_COUNTRY)
     304
     305 #define ca_get_dictionary ca_getDictionary(dictionary, VARS)
     306
     307 #define ca_get_srcname(X)       ca_srchandle2Strelement((X), CA_SRCNAME)
         /* [<][>][^][v][top][bottom][index][help] */
     308
     309 #define ca_get_srccanupd(X)     ca_srchandle2Strelement((X), CA_DBCANUPD)
         /* [<][>][^][v][top][bottom][index][help] */
     310
     311 #define ca_get_srcdeflook(X) ca_srchandle2Strelement((X), CA_DBDEFLOOK)
         /* [<][>][^][v][top][bottom][index][help] */
     312
     313 #define ca_get_srcdbmachine(X) ca_srchandle2Strelement((X), CA_DBMACHINE)
         /* [<][>][^][v][top][bottom][index][help] */
     314
     315 #define ca_get_srcdbuser(X) ca_srchandle2Strelement((X), CA_DBUSER)
         /* [<][>][^][v][top][bottom][index][help] */
     316
     317 #define ca_get_srcdbpassword(X) ca_srchandle2Strelement((X), CA_DBPASSWORD)
         /* [<][>][^][v][top][bottom][index][help] */
     318
     319 #define ca_get_srcdbname(X) ca_srchandle2Strelement((X), CA_DBNAME)
         /* [<][>][^][v][top][bottom][index][help] */
     320
     321 #define ca_get_srcdbport(X) ca_srchandle2Intelement((X), CA_DBPORT)
         /* [<][>][^][v][top][bottom][index][help] */
     322
     323 #define ca_get_srcnrtmhost(X) ca_srchandle2Strelement((X), CA_NRTMHOST)
         /* [<][>][^][v][top][bottom][index][help] */
     324
     325 #define ca_get_srcnrtmlog(X) ca_srchandle2Strelement((X), CA_NRTMLOG)
         /* [<][>][^][v][top][bottom][index][help] */
     326
     327 #define ca_get_srcmode(X) ca_srchandle2Intelement((X), CA_SRCMODE)
         /* [<][>][^][v][top][bottom][index][help] */
     328
     329 #define ca_get_srcnrtmport(X) ca_srchandle2Intelement((X), CA_NRTMPORT)
         /* [<][>][^][v][top][bottom][index][help] */
     330
     331 #define ca_get_srcnrtmdelay(X) ca_srchandle2Intelement((X), CA_NRTMDELAY)
         /* [<][>][^][v][top][bottom][index][help] */
     332
     333 #define ca_get_srcnrtmprotocolvers(X) ca_srchandle2Intelement((X), CA_NRTMPROTOCOLVERS)
         /* [<][>][^][v][top][bottom][index][help] */
     334
     335 #define ca_get_srcupdateport(X) ca_srchandle2Intelement((X), CA_SRCUPDPORT)
         /* [<][>][^][v][top][bottom][index][help] */
     336
     337 #define ca_get_notiflog ca_get_dirlist(CA_NOTIFLOG)
     338 #define ca_set_notiflog ca_set_dirlist(CA_NOTIFLOG)
     339
     340 #define ca_get_forwlog  ca_get_dirlist(CA_FORWLOG)
     341 #define ca_set_forwlog  ca_set_dirlist(CA_FORWLOG)
     342
     343 #define ca_get_crosslog ca_get_dirlist(CA_CROSSLOG)
     344 #define ca_set_crosslog ca_set_dirlist(CA_CROSSLOG)
     345
     346 #define ca_get_ripadminport ca_get_adminIntElement(CA_RIPADMIN, CA_ADMINPORT)
     347 #define ca_get_ripadminuser ca_get_adminStrElement(CA_RIPADMIN, CA_ADMINUSER)
     348
     349 #define ca_get_ripadmintable ca_get_adminStrElement(CA_RIPADMIN, CA_ADMINTABLE)
     350
     351 #define ca_get_ripadminhost ca_get_adminStrElement(CA_RIPADMIN, CA_ADMINHOST)
     352
     353 #define ca_get_ripadminpassword ca_get_adminStrElement(CA_RIPADMIN, CA_ADMINPASSWORD)
     354
     355
     356 #define ca_get_updsrcname(X)    ca_UpdSrcHandle2StrElement((X), CA_SRCNAME)
         /* [<][>][^][v][top][bottom][index][help] */
     357
     358 #define ca_get_updsrcdbmachine(X)       ca_UpdSrcHandle2StrElement((X), CA_DBMACHINE)
         /* [<][>][^][v][top][bottom][index][help] */
     359
     360 #define ca_get_updsrcdbuser(X) ca_UpdSrcHandle2StrElement((X), CA_DBUSER)
         /* [<][>][^][v][top][bottom][index][help] */
     361
     362 #define ca_get_updsrcdbpassword(X) ca_UpdSrcHandle2StrElement((X), CA_DBPASSWORD)
         /* [<][>][^][v][top][bottom][index][help] */
     363
     364 #define ca_get_updsrcdbname(X)  ca_UpdSrcHandle2StrElement((X), CA_DBNAME)
         /* [<][>][^][v][top][bottom][index][help] */
     365
     366 #define ca_get_updsrcwhoishost(X) ca_UpdSrcHandle2StrElement((X), CA_UPDSRCWHOISHOST)
         /* [<][>][^][v][top][bottom][index][help] */
     367
     368 #define ca_get_updsrcdbport(X) ca_UpdSrcHandle2IntElement((X), CA_DBPORT)
         /* [<][>][^][v][top][bottom][index][help] */
     369 #define ca_get_updqryport(X) ca_UpdSrcHandle2IntElement((X), CA_UPDSRCQRYPORT)
         /* [<][>][^][v][top][bottom][index][help] */
     370
     371 #define ca_get_updupdport(X) ca_UpdSrcHandle2IntElement((X), CA_UPDSRCUPDPORT)
         /* [<][>][^][v][top][bottom][index][help] */
     372
     373 #define ca_get_svwhois_port     ca_get_int(CA_SVWHOIS_PORT)
     374 #define ca_set_svwhois_port     ca_set_int(CA_SVWHOIS_PORT)
     375
     376 #define ca_get_svconfig_port    ca_get_int(CA_SVCONFIG_PORT)
     377 #define ca_set_svconfig_port    ca_set_int(CA_SVCONFIG_PORT)
     378
     379 #define ca_get_svmirror_port    ca_get_int(CA_SVMIRROR_PORT)
     380 #define ca_set_svmirror_port    ca_set_int(CA_SVMIRROR_PORT)
     381
     382 #define ca_get_sourcefile ca_get_dirlist(CA_SOURCEFILE)
     383 #define ca_set_sourcefile ca_set_dirlist(CA_SOURCEFILE)
     384
     385 #define ca_get_ac_decay_interval ca_get_int(CA_AC_DECAY_INTERVAL)
     386 #define ca_set_ac_decay_interval ca_set_int(CA_AC_DECAY_INTERVAL)
     387
     388 #define ca_get_ac_decay_halflife ca_get_int(CA_AC_DECAY_HALFLIFE)
     389 #define ca_set_ac_decay_halflife ca_set_int(CA_AC_DECAY_HALFLIFE)
     390
     391 #define ca_get_pw_resp_header   ca_get_string(CA_PW_RESP_HEADER)
     392 #define ca_set_pw_resp_header   ca_set_string(CA_PW_RESP_HEADER)
     393
     394 #define ca_get_pw_err_nokey     ca_get_string(CA_PW_ERR_NOKEY)
     395 #define ca_set_pw_err_nokey     ca_set_string(CA_PW_ERR_NOKEY)
     396
     397 #define ca_get_pw_help_file     ca_get_dirlist(CA_PW_HELP_FILE)
     398 #define ca_set_pw_help_file     ca_set_dirlist(CA_PW_HELP_FILE)
     399
     400 #define ca_get_pw_k_filter      ca_get_string(CA_PW_K_FILTER)
     401 #define ca_set_pw_k_filter      ca_set_string(CA_PW_K_FILTER)
     402
     403 #define ca_get_pw_limit_reached ca_get_string(CA_PW_LIMIT_REACHED)
     404 #define ca_set_pw_limit_reached ca_set_string(CA_PW_LIMIT_REACHED)
     405
     406 #define ca_get_pw_acl_addrpass  ca_get_string(CA_PW_ACL_ADDRPASS)
     407 #define ca_set_pw_acl_addrpass  ca_set_string(CA_PW_ACL_ADDRPASS)
     408
     409 #define ca_get_pw_acl_permdeny  ca_get_string(CA_PW_ACL_PERMDENY)
     410 #define ca_set_pw_acl_permdeny  ca_set_string(CA_PW_ACL_PERMDENY)
     411
     412 #define ca_get_pw_notfound      ca_get_string(CA_PW_NOTFOUND)
     413 #define ca_set_pw_notfound      ca_set_string(CA_PW_NOTFOUND)
     414
     415 #define ca_get_pw_connclosed    ca_get_string(CA_PW_CONNCLOSED)
     416 #define ca_set_pw_connclosed    ca_set_string(CA_PW_CONNCLOSED)
     417
     418 #define ca_get_pw_banner        ca_get_string(CA_PW_BANNER)
     419 #define ca_set_pw_banner        ca_set_string(CA_PW_BANNER)
     420
     421 #define ca_get_qc_badattr       ca_get_string(CA_QC_BADATTR)
     422 #define ca_set_qc_badattr       ca_set_string(CA_QC_BADATTR)
     423
     424 #define ca_get_qc_fmt_attrnotinv        ca_get_string(CA_QC_FMT_ATTRNOTINV)
     425 #define ca_set_qc_fmt_attrnotinv        ca_set_string(CA_QC_FMT_ATTRNOTINV)
     426
     427 #define ca_get_qc_fmt_badsource ca_get_string(CA_QC_FMT_BADSOURCE)
     428 #define ca_set_qc_fmt_badsource ca_set_string(CA_QC_FMT_BADSOURCE)
     429
     430 #define ca_get_qc_badobjtype    ca_get_string(CA_QC_BADOBJTYPE)
     431 #define ca_set_qc_badobjtype    ca_set_string(CA_QC_BADOBJTYPE)
     432
     433 #define ca_get_qi_ref_tmout     ca_get_string(CA_QI_REF_TMOUT)
     434 #define ca_set_qi_ref_tmout     ca_set_string(CA_QI_REF_TMOUT)
     435
     436 #define ca_get_qi_ref_overmaxlin        ca_get_string(CA_QI_REF_OVERMAXLIN)
     437 #define ca_set_qi_ref_overmaxlin        ca_set_string(CA_QI_REF_OVERMAXLIN)
     438
     439 #define ca_get_qi_ref_badhost   ca_get_string(CA_QI_REF_BADHOST)
     440 #define ca_set_qi_ref_badhost   ca_set_string(CA_QI_REF_BADHOST)
     441
     442 #define ca_get_qi_ref_hostnottresp      ca_get_string(CA_QI_REF_HOSTNOTTRESP)
     443 #define ca_set_qi_ref_hostnottresp      ca_set_string(CA_QI_REF_HOSTNOTTRESP)
     444
     445 #define ca_get_qi_fmt_refheader ca_get_string(CA_QI_FMT_REFHEADER)
     446 #define ca_set_qi_fmt_refheader ca_set_string(CA_QI_FMT_REFHEADER)
     447
     448 #define ca_get_er_def   ca_get_string(CA_ER_DEF)
     449 #define ca_set_er_def   ca_set_string(CA_ER_DEF)
     450
     451 #define ca_get_er_macro ca_get_string(CA_ER_MACRO)
     452 #define ca_set_er_macro ca_set_string(CA_ER_MACRO)
     453
     454 #define ca_get_er_ud_def        ca_get_dirlist(CA_ER_UD_DEF)
     455 #define ca_set_er_ud_def        ca_set_dirlist(CA_ER_UD_DEF)
     456
     457 #define ca_get_qi_reftrailer ca_get_string(CA_QI_REFTRAILER)
     458 #define ca_set_qi_reftrailer ca_set_string(CA_QI_REFTRAILER)
     459
     460 #endif  /* CA_MACROS */
     461

/* [<][>][^][v][top][bottom][index][help] */