Thread: [IRC-Dev CVS] Module ircdh: Change commited ircdh/include channel.h,1.5,1.6 ircd_chattr.h,1.1,1.2 ir
Brought to you by:
zolty
From: Zolty <zo...@us...> - 2002-08-22 20:27:16
|
Update of /cvsroot/irc-dev/ircdh/include In directory usw-pr-cvs1:/tmp/cvs-serv8672/ircdh/include Modified Files: channel.h ircd_chattr.h ircd_string.h patchlevel.h s_bsd.h version.h Log Message: 2002-08-22 Toni Garcia <zo...@ir...> 1.0.alpha9 * En los parches anteriores, hice un cambio: - El modo +R lo puede poner CUALQUIERA. * Sincronizacion Hispano u2.10.H.05.16 al u2.10.H.04.24. * ircd/querycmds.c: En el /VERSION, hago que se muestre el version hispano equivalente. Solo es provisional, se quitara en el futuro, junto con los mensajes de parches de ESNET-Hispano. * include/patchlevel.h: Limpieza en el codigo. Y renombramos el ircd como "IRC-Dev 1.0.alpha9". Index: channel.h =================================================================== RCS file: /cvsroot/irc-dev/ircdh/include/channel.h,v retrieving revision 1.5 retrieving revision 1.6 diff -u -d -r1.5 -r1.6 --- channel.h 18 Aug 2002 22:59:22 -0000 1.5 +++ channel.h 22 Aug 2002 20:27:13 -0000 1.6 @@ -41,7 +41,7 @@ #define KEYLEN 23 #define CHANNELLEN 64 -#define MAXBANS 30 +#define MAXBANS 75 #define MAXBANLENGTH 1024 /* Index: ircd_chattr.h =================================================================== RCS file: /cvsroot/irc-dev/ircdh/include/ircd_chattr.h,v retrieving revision 1.1 retrieving revision 1.2 diff -u -d -r1.1 -r1.2 --- ircd_chattr.h 21 Aug 2002 17:59:40 -0000 1.1 +++ ircd_chattr.h 22 Aug 2002 20:27:13 -0000 1.2 @@ -41,32 +41,32 @@ /* * Character attribute macros */ -#define NTL_ALNUM 0x0001 /* (NTL_ALPHA | NTL_DIGIT) */ -#define NTL_ALPHA 0x0002 /* (NTL_LOWER | NTL_UPPER) */ -#define NTL_CNTRL 0x0004 /* \000 - \037 == 0x00 - 0x1F */ -#define NTL_DIGIT 0x0008 /* 0123456789 */ -#define NTL_GRAPH 0x0010 /* (NTL_ALNUM | NTL_PUNCT) */ -#define NTL_LOWER 0x0020 /* abcdefghijklmnopqrstuvwxyz{|}~ */ -#define NTL_PRINT 0x0040 /* (NTL_GRAPH | ' ') */ -#define NTL_PUNCT 0x0080 /* !"#$%&'()*+,-./:;<=>?@_` */ -#define NTL_SPACE 0x0100 /* \011\012\013\014\015\040 */ -#define NTL_UPPER 0x0200 /* ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^ */ -#define NTL_IRCCH 0x0400 /* Channel's names charset */ -#define NTL_IRCCL 0x0800 /* Force toLower() in ch-name */ -#define NTL_IRCNK 0x1000 /* Nick names charset, aka isvalid() */ -#define NTL_IRCUI 0x2000 /* UserIDs charset, IRCHN plus tilde */ -#define NTL_IRCHN 0x4000 /* Hostnames charset (weak, RFC 1033) */ -#define NTL_IRCIP 0x8000 /* Numeric IPs charset (DIGIT and .) */ -#define NTL_EOL 0x10000 /* \r\n */ -#define NTL_KTIME 0x20000 /* Valid character for a k:line time */ -#define NTL_CHPFX 0x40000 /* channel prefix char # & + */ +#define NTL_ALNUM 0x0001 /* (NTL_ALPHA | NTL_DIGIT) */ +#define NTL_ALPHA 0x0002 /* (NTL_LOWER | NTL_UPPER) */ +#define NTL_CNTRL 0x0004 /* \000 - \037 == 0x00 - 0x1F */ +#define NTL_DIGIT 0x0008 /* 0123456789 */ +#define NTL_GRAPH 0x0010 /* (NTL_ALNUM | NTL_PUNCT) */ +#define NTL_LOWER 0x0020 /* abcdefghijklmnopqrstuvwxyz{|}~ */ +#define NTL_PRINT 0x0040 /* (NTL_GRAPH | ' ') */ +#define NTL_PUNCT 0x0080 /* !"#$%&'()*+,-./:;<=>?@_` */ +#define NTL_SPACE 0x0100 /* \011\012\013\014\015\040 */ +#define NTL_UPPER 0x0200 /* ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^ */ +#define NTL_IRCCH 0x0400 /* Channel's names charset */ +#define NTL_IRCCL 0x0800 /* Force toLower() in ch-name */ +#define NTL_IRCNK 0x1000 /* Nick names charset, aka isvalid() */ +#define NTL_IRCUI 0x2000 /* UserIDs charset, IRCHN plus tilde */ +#define NTL_IRCHN 0x4000 /* Hostnames charset (weak, RFC 1033) */ +#define NTL_IRCIP 0x8000 /* Numeric IPs charset (DIGIT and .) */ +#define NTL_EOL 0x10000 /* \r\n */ +#define NTL_KTIME 0x20000 /* Valid character for a k:line time */ +#define NTL_CHPFX 0x40000 /* channel prefix char # & + */ /* * Tables used for translation and classification macros */ extern const char ToLowerTab_8859_1[]; extern const char ToUpperTab_8859_1[]; -extern const unsigned int IRCD_CharAttrTab[]; +extern const unsigned int IRCD_CharAttrTab[]; /* * Translation macros for channel name case translation @@ -102,4 +102,3 @@ #endif /* INCLUDED_ircd_chattr_h */ - Index: ircd_string.h =================================================================== RCS file: /cvsroot/irc-dev/ircdh/include/ircd_string.h,v retrieving revision 1.1 retrieving revision 1.2 diff -u -d -r1.1 -r1.2 --- ircd_string.h 21 Aug 2002 17:59:40 -0000 1.1 +++ ircd_string.h 22 Aug 2002 20:27:13 -0000 1.2 @@ -45,7 +45,7 @@ extern char *host_from_uh(char *buf, const char *userhost, size_t len); extern char *ircd_strtok(char **save, char *str, char *fs); #if 0 -extern char *sprintf_irc(char *str, const char *format, ...); +extern char *sprintf_irc(char *str, const char *format, ...); #endif extern char *canonize(char *buf); @@ -104,19 +104,17 @@ #else /* FORCEINLINE */ #ifdef __cplusplus -inline NTL_HDR_strChattr { NTL_SRC_strChattr } -inline NTL_HDR_strCasediff { NTL_SRC_strCasediff } +inline NTL_HDR_strChattr { +NTL_SRC_strChattr} inline NTL_HDR_strCasediff { +NTL_SRC_strCasediff} #else -static __inline__ NTL_HDR_strChattr { NTL_SRC_strChattr } -static __inline__ NTL_HDR_strCasediff { NTL_SRC_strCasediff } +static __inline__ NTL_HDR_strChattr { +NTL_SRC_strChattr} static __inline__ NTL_HDR_strCasediff { +NTL_SRC_strCasediff} #endif -#endif /* FORCEINLINE */ - +#endif /* FORCEINLINE */ /* * Proto types of other externally visible functions - */ -extern int strnChattr(const char *s, const size_t n); + */ extern int strnChattr(const char *s, const size_t n); #endif /* INCLUDED_ircd_string_h */ - - Index: patchlevel.h =================================================================== RCS file: /cvsroot/irc-dev/ircdh/include/patchlevel.h,v retrieving revision 1.3 retrieving revision 1.4 diff -u -d -r1.3 -r1.4 --- patchlevel.h 15 Aug 2002 20:55:23 -0000 1.3 +++ patchlevel.h 22 Aug 2002 20:27:13 -0000 1.4 @@ -15,354 +15,17 @@ * along with this program; if not, write to the Free Software * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. * - * $Id: - * - */ - -/* - * PATCHes - * - * Only put here ADDED special stuff, for instance: ".mu3" or ".ban" - * Please start the patchlevel with a '.' - * - * IMPORTANT: Since u2.9 there is a new format of this file. The reason - * is that this way it shouldn't be needed anymore for the user to edit - * this manually !!! - * If you do, be sure you know what you are doing! + * $Id$ * - * For patch devellopers: - * To make a diff of your patch, edit any of the below lines containing - * a "" (an EMPTY string). Your patch will then succeed, with only an - * offset, on the first empty place in the users patchlevel.h. - * Do not change anyother line, the '\' are to make sure that the 'fuzz' - * will stay 0. --Run - */ - -#define PATCH1 \ - \ - \ - \ - ".H.05" - -/* - * Deliberate empty lines - */ - -#define PATCH2 \ - \ - \ - \ - "" - -/* - * Deliberate empty lines - */ - -#define PATCH3 \ - \ - \ - \ - "" - -/* - * Deliberate empty lines - */ - -#define PATCH4 \ - \ - \ - \ - "" - -/* - * Deliberate empty lines - */ - -#define PATCH5 \ - \ - \ - \ - "" - -/* - * Deliberate empty lines - */ - -#define PATCH6 \ - \ - \ - \ - "" - -/* - * Deliberate empty lines - */ - -#define PATCH7 \ - \ - \ - \ - "" - -/* - * Deliberate empty lines - */ - -#define PATCH8 \ - \ - \ - \ - "" - -/* - * Deliberate empty lines - */ - -#define PATCH9 \ - \ - \ - \ - "" - -/* - * Deliberate empty lines - */ - -#define PATCH10 \ - \ - \ - \ - "" - -/* - * Deliberate empty lines - */ - -#define PATCH11 \ - \ - \ - \ - "" - -/* - * Deliberate empty lines - */ - -#define PATCH12 \ - \ - \ - \ - "" - -/* - * Deliberate empty lines - */ - -#define PATCH13 \ - \ - \ - \ - "" - -/* - * Deliberate empty lines */ -#define PATCH14 \ - \ - \ - \ - "" - -/* - * Deliberate empty lines - */ - -#define PATCH15 \ - \ - \ - \ - "" - -/* - * Deliberate empty lines - */ - -#define PATCH16 \ - \ - \ - \ - "" - -/* - * Deliberate empty lines - */ - -#define PATCH17 \ - \ - \ - \ - "" - -/* - * Deliberate empty lines - */ - -#define PATCH18 \ - \ - \ - \ - "" - -/* - * Deliberate empty lines - */ - -#define PATCH19 \ - \ - \ - \ - "" - -/* - * Deliberate empty lines - */ - -#define PATCH20 \ - \ - \ - \ - "" - -/* - * Deliberate empty lines - */ - -#define PATCH21 \ - \ - \ - \ - "" - -/* - * Deliberate empty lines - */ - -#define PATCH22 \ - \ - \ - \ - "" - -/* - * Deliberate empty lines - */ - -#define PATCH23 \ - \ - \ - \ - "" - -/* - * Deliberate empty lines - */ - -#define PATCH24 \ - \ - \ - \ - "" - -/* - * Deliberate empty lines - */ - -#define PATCH25 \ - \ - \ - \ - "" - -/* - * Deliberate empty lines - */ - -#define PATCH26 \ - \ - \ - \ - "" - -/* - * Deliberate empty lines - */ - -#define PATCH27 \ - \ - \ - \ - "" - -/* - * Deliberate empty lines - */ - -#define PATCH28 \ - \ - \ - \ - "" - -/* - * Deliberate empty lines - */ - -#define PATCH29 \ - \ - \ - \ - "" - -/* - * Deliberate empty lines - */ - -#define PATCH30 \ - \ - \ - \ - "" - -/* - * Deliberate empty lines - */ - -#define PATCH31 \ - \ - \ - \ - "" - -/* - * Deliberate empty lines - */ +#define PATCHLEVEL "alpha9" -#ifdef TESTNET -#define PATCH32 \ - \ - \ - \ - ".testnet" -#else -#define PATCH32 "" -#endif +#define RELEASE "1.0" /* * Deliberate empty lines */ - -/* Do NOT edit those: */ #ifndef BASE_VERSION #define BASE_VERSION "u2.10" Index: s_bsd.h =================================================================== RCS file: /cvsroot/irc-dev/ircdh/include/s_bsd.h,v retrieving revision 1.4 retrieving revision 1.5 diff -u -d -r1.4 -r1.5 --- s_bsd.h 18 Aug 2002 22:59:22 -0000 1.4 +++ s_bsd.h 22 Aug 2002 20:27:13 -0000 1.5 @@ -222,10 +222,12 @@ #define HMODE_HIDDEN 0x00000040 /* Ip Oculta */ #define HMODE_HIDDENVIEWER 0x00000080 /* Ip Oculta */ #define HMODE_NICKSUSPENDED 0x00000100 /* Nick Suspendido */ +#define HMODE_MSGONLYREG 0x00000200 /* Solo recibir mensajes de usuarios con +r */ /* Modos hispano a propagar */ #define SEND_HMODES \ - (HMODE_NICKREGISTERED | HMODE_HELPOP | HMODE_SERVICESBOT | HMODE_HIDDEN | HMODE_HIDDENVIEWER | HMODE_NICKSUSPENDED) + (HMODE_NICKREGISTERED | HMODE_HELPOP | HMODE_SERVICESBOT | HMODE_HIDDEN | HMODE_HIDDENVIEWER \ + | HMODE_NICKSUSPENDED | HMODE_MSGONLYREG) /* Modos hispano TODOS */ #define ALL_HMODES \ @@ -240,6 +242,7 @@ #define IsHidden(x) ((x)->hmodes & HMODE_HIDDEN) #define IsHiddenViewer(x) ((x)->hmodes & HMODE_HIDDENVIEWER) #define IsNickSuspended(x) ((x)->hmodes & HMODE_NICKSUSPENDED) +#define IsMsgOnlyReg(x) ((x)->hmodes & HMODE_MSGONLYREG) /* Macros para poner modos hispano */ #define SetNickRegistered(x) ((x)->hmodes |= HMODE_NICKREGISTERED) @@ -250,6 +253,7 @@ #define SetHidden(x) ((x)->hmodes |= HMODE_HIDDEN) #define SetHiddenViewer(x) ((x)->hmodes |= HMODE_HIDDENVIEWER) #define SetNickSuspended(x) ((x)->hmodes |= HMODE_NICKSUSPENDED) +#define SetMsgOnlyReg(x) ((x)->hmodes |= HMODE_MSGONLYREG) /* Macros para borrar modos hispano */ #define ClearNickRegistered(x) ((x)->hmodes &= ~HMODE_NICKREGISTERED) @@ -260,6 +264,7 @@ #define ClearHidden(x) ((x)->hmodes &= ~HMODE_HIDDEN) #define ClearHiddenViewer(x) ((x)->hmodes &= ~HMODE_HIDDENVIEWER) #define ClearNickSuspended(x) ((x)->hmodes &= ~HMODE_NICKSUSPENDED) +#define ClearMsgOnlyReg(x) ((x)->hmodes &= ~HMODE_MSGONLYREG) #endif /* BDD */ Index: version.h =================================================================== RCS file: /cvsroot/irc-dev/ircdh/include/version.h,v retrieving revision 1.2 retrieving revision 1.3 diff -u -d -r1.2 -r1.3 --- version.h 15 Aug 2002 20:55:23 -0000 1.2 +++ version.h 22 Aug 2002 20:27:13 -0000 1.3 @@ -7,6 +7,7 @@ #define INCLUDED_version_h extern const char *version; +extern const char *versionhispano; extern const char *creation; extern const char *infotext[]; extern const char *generation; |