Changeset 27 for trunk/src/sh_readconf.c


Ignore:
Timestamp:
Apr 6, 2006, 8:55:51 PM (19 years ago)
Author:
rainer
Message:

Support for server-to-server relay and more user policies

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/sh_readconf.c

    r22 r27  
    6969  SH_SECTION_USER0,
    7070  SH_SECTION_USER1,
     71  SH_SECTION_USER2,
     72  SH_SECTION_USER3,
     73  SH_SECTION_USER4,
    7174  SH_SECTION_PRELINK,
    7275#if defined (SH_WITH_MAIL)
     
    108111  { N_("[User0]"),            SH_SECTION_USER0},
    109112  { N_("[User1]"),            SH_SECTION_USER1},
     113  { N_("[User2]"),            SH_SECTION_USER2},
     114  { N_("[User3]"),            SH_SECTION_USER3},
     115  { N_("[User4]"),            SH_SECTION_USER4},
    110116  { N_("[Prelink]"),          SH_SECTION_PRELINK},
    111117#ifdef WITH_EXTERNAL
     
    820826  { N_("file"),           SH_SECTION_USER1,      SH_SECTION_NONE,
    821827    sh_files_pushfile_user1 },
     828  { N_("dir"),            SH_SECTION_USER2,      SH_SECTION_NONE,
     829    sh_files_pushdir_user2 },
     830  { N_("file"),           SH_SECTION_USER2,      SH_SECTION_NONE,
     831    sh_files_pushfile_user2 },
     832  { N_("dir"),            SH_SECTION_USER3,      SH_SECTION_NONE,
     833    sh_files_pushdir_user3 },
     834  { N_("file"),           SH_SECTION_USER3,      SH_SECTION_NONE,
     835    sh_files_pushfile_user3 },
     836  { N_("dir"),            SH_SECTION_USER4,      SH_SECTION_NONE,
     837    sh_files_pushdir_user4 },
     838  { N_("file"),           SH_SECTION_USER4,      SH_SECTION_NONE,
     839    sh_files_pushfile_user4 },
    822840  { N_("dir"),            SH_SECTION_PRELINK,    SH_SECTION_NONE,
    823841    sh_files_pushdir_prelink },
     
    892910  { N_("redefuser1"),           SH_SECTION_MISC,   SH_SECTION_NONE,
    893911    sh_files_redef_user1 },
     912
     913  { N_("redefuser2"),           SH_SECTION_MISC,   SH_SECTION_NONE,
     914    sh_files_redef_user2 },
     915
     916  { N_("redefuser3"),           SH_SECTION_MISC,   SH_SECTION_NONE,
     917    sh_files_redef_user3 },
     918
     919  { N_("redefuser4"),           SH_SECTION_MISC,   SH_SECTION_NONE,
     920    sh_files_redef_user4 },
    894921
    895922  { N_("redefprelink"),         SH_SECTION_MISC,   SH_SECTION_NONE,
     
    941968#endif
    942969
    943 #ifdef SH_WITH_CLIENT
     970#if defined(SH_WITH_CLIENT) || defined(SH_WITH_SERVER)
    944971  { N_("exportseverity"),      SH_SECTION_LOG,  SH_SECTION_NONE,
    945972    sh_error_setexport },
    946973  { N_("exportclass"),         SH_SECTION_LOG,  SH_SECTION_NONE,
    947974    sh_error_export_mask },
     975#if defined(SH_WITH_SERVER)
     976  { N_("setlogserver"),        SH_SECTION_SRV,  SH_SECTION_MISC,
     977    sh_forward_setlogserver },
     978#else
    948979  { N_("setlogserver"),        SH_SECTION_CLT,  SH_SECTION_MISC,
    949980    sh_forward_setlogserver },
     981#endif
    950982#endif
    951983  { N_("setfilechecktime"),  SH_SECTION_MISC,   SH_SECTION_NONE,
     
    10881120    N_("severityuser0"),
    10891121    N_("severityuser1"),
     1122    N_("severityuser2"),
     1123    N_("severityuser3"),
     1124    N_("severityuser4"),
    10901125    N_("severityprelink"),
    10911126    NULL
     
    11041139    SH_ERR_T_USER0,       
    11051140    SH_ERR_T_USER1,       
     1141    SH_ERR_T_USER2,       
     1142    SH_ERR_T_USER3,       
     1143    SH_ERR_T_USER4,       
    11061144    SH_ERR_T_PRELINK,       
    11071145  };
Note: See TracChangeset for help on using the changeset viewer.