Synchronet now requires the libarchive development package (e.g. libarchive-dev on Debian-based Linux distros, libarchive.org for more info) to build successfully.

Commit 95627ff0 authored by deuce's avatar deuce

Add inputnstime32()

parent 8b46e4b7
......@@ -448,6 +448,7 @@ public:
void create_sif_dat(char *siffile, char *datfile);
void read_sif_dat(char *siffile, char *datfile);
void printnodedat(uint number, node_t* node);
bool inputnstime32(time32_t *dt);
bool inputnstime(time_t *dt);
bool chkpass(char *pass, user_t* user, bool unique);
char * cmdstr(char *instr, char *fpath, char *fspec, char *outstr);
......
......@@ -560,6 +560,16 @@ size_t sbbs_t::gettmplt(char *strout,char *templt, long mode)
/* Accepts a user's input to change a new-scan time pointer */
/* Returns 0 if input was aborted or invalid, 1 if complete */
/*****************************************************************************/
bool sbbs_t::inputnstime32(time32_t *dt)
{
bool retval;
time_t tmptime=*dt;
retval=inputnstime(&tmptime);
*dt=tmptime;
return(retval);
}
bool sbbs_t::inputnstime(time_t *dt)
{
int hour;
......
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