--- sbbs/src/sbbs3/ars_defs.h 2018/04/24 16:41:23 1.1.1.1 +++ sbbs/src/sbbs3/ars_defs.h 2018/04/24 16:43:18 1.1.1.2 @@ -2,13 +2,13 @@ /* Synchronet Access Requirement Strings (ARS) constants */ -/* $Id: ars_defs.h,v 1.1.1.1 2018/04/24 16:41:23 root Exp $ */ +/* $Id: ars_defs.h,v 1.1.1.2 2018/04/24 16:43:18 root Exp $ */ /**************************************************************************** * @format.tab-size 4 (Plain Text/Source Code File Header) * * @format.use-tabs true (see http://www.synchro.net/ptsc_hdr.html) * * * - * Copyright 2006 Rob Swindell - http://www.synchro.net/copyright.html * + * Copyright 2009 Rob Swindell - http://www.synchro.net/copyright.html * * * * This program is free software; you can redistribute it and/or * * modify it under the terms of the GNU General Public License * @@ -56,6 +56,8 @@ extern "C" #endif uchar *arstr(ushort* count, char* str, scfg_t* cfg); +#define AR_INVALID -1 /* Unspecified keyword */ + enum { /* Access requirement binaries */ AR_NULL ,AR_OR @@ -69,7 +71,7 @@ enum { /* A ,AR_NODE ,AR_TLEFT ,AR_TUSED - ,AR_USER + ,AR_USER /* 12 */ ,AR_TIME ,AR_PCR ,AR_FLAG1 @@ -114,6 +116,14 @@ enum { /* A ,AR_ACTIVE ,AR_INACTIVE ,AR_DELETED + ,AR_ULS + ,AR_ULK + ,AR_ULM + ,AR_DLS + ,AR_DLK + ,AR_DLM + ,AR_HOST /* Remote/client hostname (wildcards allowed) */ + ,AR_IP /* Remote/client IP address (wildcards allowed) */ }; #endif /* Don't add anything after this line */