This repository has been archived on 2024-04-08. You can view files and clone it, but cannot push or open issues or pull requests.
deb-mbse/mbsebbs/funcs4.h

32 lines
1.8 KiB
C
Raw Normal View History

2001-08-17 05:46:24 +00:00
#ifndef _FUNCS4_H
#define _FUNCS4_H
void UserSilent(int); /* Update users silent flag info */
int CheckStatus(void); /* Check BBS open status */
void GetstrU(char *, int); /* Get string, forbid spaces */
void GetstrP(char *, int, int); /* Get string with cursor position */
void GetstrC(char *, int); /* Get string, length, clear string */
void Getnum(char *, int); /* Get only numbers from user */
void Getname(char *, int); /* Get name & convert every 1st char to U/C */
void GetnameNE(char *, int); /* Get name & convert every 1st char to U/C */
void GetDate(char *, int); /* Get users birth date and check */
void GetPhone(char *, int); /* Get telephone number */
int TelephoneScan(char *, char *);/* Scans for Duplicate User Phone Numbers */
void Pause(void); /* Puts Pause on Screen and halts screen */
int CheckName(char *); /* Check if user name exists */
char *logdate(void); /* Returns DD-Mon HH:MM:SS */
char *NameGen(char *); /* Get and test for unix login */
char *NameCreate(char *, char *, char *);/* Create users login in passwd file */
char *ChangeHomeDir(char *, int); /* Change and Create Users Home Directories */
void CheckDir(char *); /* Check and create directory */
int Check4UnixLogin(char *); /* Check Passwd File for Users Login */
int CheckHandle(char *); /* Check if user handle exists */
int BadNames(char *); /* Check for Unwanted user names */
void FindMBSE(void); /* Load Configuration file in memory */
char *GLCdateyy(void); /* Returns current date DD-Mmm-YYYY */
char *GetMonth(int); /* Returns Mmm */
#endif