home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
The Devil's Doorknob BBS Capture (1996-2003)
/
devilsdoorknobbbscapture1996-2003.iso
/
Dloads
/
MISSING
/
REGISTRY.ZIP
/
REGISTRY.H
< prev
next >
Wrap
Text File
|
1992-02-13
|
5KB
|
72 lines
/*==============================================================================
+ Registry Version 1.3 +
+ by Jon Dietrich +
+ Dietrich Software Enterprises +
+ +
+ Modification for WWIV +
+ +
+ - HEADER FILE - +
+ +
==============================================================================*/
#define REGISTRY_LOG_ON_STUFF \
if(!registry_files_exist()) { \
ansic(7); \
pl("The registry data files do not exist..."); \
prt(7,"Do you want to create them now? "); \
if(yn()) \
registry(); \
else { \
nl(); \
ansic(3); \
pl("You can access the registry by pressing '$' at the main menu."); \
} \
} \
if(registry_files_exist() && find_offset(usernum) ==0L ) { \
nl(); \
ansic(7); \
pl("You haven't filled out a registry yet..."); \
prt(7,"Do you want to fill it out now? "); \
ansic(1); \
if(yn()) \
registry(); \
else { \
nl(); \
ansic(3); \
pl("You can access the registry by pressing '$' at the main menu."); \
} \
}
#define REGISTRY_FROM_MESSAGE_BASE \
grab_user_name(&(msgs[msgnum].msg),subboards[curlsub].filename); \
ss=syscfg.sl[thisuser.sl]; \
if( (lcs()) || (ss.ability & ability_read_post_anony) || \
(msgs[msgnum].anony==0) ) \
if(msgs[msgnum].ownersys==0) \
registry_from_message_base(msgs[msgnum].owneruser); \
else { \
nl(); \
pl("Can't view registry of user on another system..."); \
nl(); \
} \
else { \
nl(); \
pl("Can't view registry of anonymous user..."); \
nl(); \
} \
break;
#define REGISTRY \
if(thisuser.sl>=getminsl2() ) \
registry(); \
else { \
nl(); \
pl("Your Security Level is not high enough to access the registry."); \
nl(); \
} \
break;
/*----------------------------------------------------------------------------
+ REGISTRY OF USERS Ver 1.3 +
+ February 13, 1992 +
----------------------------------------------------------------------------*/