diff options
author | victor <victor@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2003-07-17 11:27:29 +0800 |
---|---|---|
committer | victor <victor@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2003-07-17 11:27:29 +0800 |
commit | 91d90470f1c9eb465a5ea7799263af90212fcfce (patch) | |
tree | d552da494965c42d9708ecd97d1fd91ea270e83f /include | |
parent | 0c09591e5426ec3fce7d1f6a609bf9664da0cc9f (diff) | |
download | pttbbs-91d90470f1c9eb465a5ea7799263af90212fcfce.tar pttbbs-91d90470f1c9eb465a5ea7799263af90212fcfce.tar.gz pttbbs-91d90470f1c9eb465a5ea7799263af90212fcfce.tar.bz2 pttbbs-91d90470f1c9eb465a5ea7799263af90212fcfce.tar.lz pttbbs-91d90470f1c9eb465a5ea7799263af90212fcfce.tar.xz pttbbs-91d90470f1c9eb465a5ea7799263af90212fcfce.tar.zst pttbbs-91d90470f1c9eb465a5ea7799263af90212fcfce.zip |
random signature
git-svn-id: http://opensvn.csie.org/pttbbs/pttbbs/trunk/pttbbs@1056 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
Diffstat (limited to 'include')
-rw-r--r-- | include/proto.h | 4 | ||||
-rw-r--r-- | include/pttstruct.h | 6 |
2 files changed, 5 insertions, 5 deletions
diff --git a/include/proto.h b/include/proto.h index a460650d..f02f7c1d 100644 --- a/include/proto.h +++ b/include/proto.h @@ -1,4 +1,4 @@ -/* $Id: proto.h,v 1.44 2003/05/26 05:23:13 in2 Exp $ */ +/* $Id: proto.h,v 1.45 2003/07/17 03:27:27 victor Exp $ */ #ifndef INCLUDE_PROTO_H #define INCLUDE_PROTO_H @@ -524,7 +524,7 @@ int topsong(); int u_editcalendar(); void user_display(userec_t *u, int real); void uinfo_query(userec_t *u, int real, int unum); -int showsignature(char *fname); +int showsignature(char *fname, int *j); void mail_violatelaw(char* crime, char* police, char* reason, char* result); void showplans(char *uid); int u_info(); diff --git a/include/pttstruct.h b/include/pttstruct.h index 64f2bd90..d34e8f3a 100644 --- a/include/pttstruct.h +++ b/include/pttstruct.h @@ -1,4 +1,4 @@ -/* $Id: pttstruct.h,v 1.41 2003/07/17 01:33:14 in2 Exp $ */ +/* $Id: pttstruct.h,v 1.42 2003/07/17 03:27:27 victor Exp $ */ #ifndef INCLUDE_STRUCT_H #define INCLUDE_STRUCT_H @@ -75,10 +75,10 @@ typedef struct userec_t { char mind[4]; char ident[11]; unsigned int uflag2; - char pad[72]; + unsigned char signature; + char pad[71]; } userec_t; /* these are flags in userec_t.uflag */ -#define SIG_FLAG 0x3 /* signature number, 2 bits */ #define PAGER_FLAG 0x4 /* true if pager was OFF last session */ #define CLOAK_FLAG 0x8 /* true if cloak was ON last session */ #define FRIEND_FLAG 0x10 /* true if show friends only */ |