Commit 0867444e authored by rswindell's avatar rswindell
Browse files

Added LEN_EXTCODE constant definition for extended internal codes maxlen

(prefix + suffix).
parent 1c3d023b
......@@ -104,6 +104,7 @@ typedef struct {
#define LEN_QWKID 8 /* Maximum length of QWK-ID */
#define LEN_MODNAME 8 /* Maximum length of loadable module name */
#define LEN_SIFNAME 8 /* Maximum length of SIF filename */
#define LEN_EXTCODE (LEN_CODE*2) /* Code prefix + suffix */
/* Lengths of various strings */
#define LEN_GSNAME 15 /* Group/Lib short name */
......@@ -929,8 +930,8 @@ typedef struct { /* Users information */
netmail[LEN_NETMAIL+1], /* NetMail forwarding address */
tmpext[4], /* QWK Packet extension */
comment[LEN_COMMENT+1], /* Private comment about user */
cursub[(LEN_CODE*2)+1], /* Current sub-board internal code */
curdir[(LEN_CODE*2)+1], /* Current directory internal code */
cursub[LEN_EXTCODE+1], /* Current sub-board internal code */
curdir[LEN_EXTCODE+1], /* Current directory internal code */
curxtrn[9]; /* Current external program internal code */
uchar level, /* Security level */
......
......@@ -43,7 +43,7 @@
#include "startup.h"
typedef struct { /* Message sub board info */
char code[(LEN_CODE*2)+1]; /* Internal code (with optional lib prefix) */
char code[LEN_EXTCODE+1]; /* Internal code (with optional lib prefix) */
char code_suffix[LEN_CODE+1]; /* Eight character code suffix */
char lname[LEN_SLNAME+1], /* Short name - used for prompts */
sname[LEN_SSNAME+1], /* Long name - used for listing */
......@@ -84,7 +84,7 @@ typedef struct { /* Message group info */
} grp_t;
typedef struct { /* Transfer Directory Info */
char code[(LEN_CODE*2)+1]; /* Internal code (with optional lib prefix) */
char code[LEN_EXTCODE+1]; /* Internal code (with optional lib prefix) */
char code_suffix[LEN_CODE+1]; /* Eight character code suffix */
char lname[LEN_SLNAME+1], /* Short name - used for prompts */
sname[LEN_SSNAME+1], /* Long name - used for listing */
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment