• Home
  • History
  • Annotate
Name Date Size #Lines LOC

..03-May-2022-

MakefileH A D03-May-2022942 3924

README-libH A D05-Oct-20191.1 KiB3928

config.cH A D24-Apr-20197.2 KiB285181

config.hH A D24-Apr-20192.1 KiB7849

dopid.cH A D31-May-20182 KiB7135

dopid.hH A D14-Jan-20181.1 KiB3914

hexdump.cH A D09-Apr-20191.5 KiB5024

hexdump.hH A D09-Apr-2019950 328

libncid.hH A D05-Oct-2019977 3310

logmsg.cH A D31-May-20181.4 KiB5119

logmsg.hH A D17-Apr-20191.5 KiB6323

ncid_poll.cH A D04-Apr-20183.4 KiB9853

ncid_poll.hH A D09-Mar-20181.3 KiB5524

safesend.cH A D08-Jun-201913.1 KiB452251

safesend.hH A D24-Feb-20181.3 KiB4417

strdate.cH A D29-Dec-20172.2 KiB7038

strdate.hH A D29-Dec-20171.2 KiB4217

strmatch.cH A D25-Jan-20207.4 KiB287161

strmatch.hH A D25-Jan-20201.7 KiB5523

README-lib

1The *.c files and ncidlib.h file contain the following functions:
2
3    logmsg.[ch]:
4        void logMsg(int level, const char * fmt, ...)
5
6    strdate.[ch]:
7        char *strdate(int format)
8
9    dopid.[ch]:
10        int doPID(pid_t *pid, char *pidfile)
11
12    hexdump.[ch]:
13        void hexdump(void *ptr, int buflen)
14
15    conf.[ch]:
16        int doConf()
17        char *getWord(char *nameptr, char *inptr, char *wdptr, int lc);
18        int findWord(char *wdptr),
19        int findSend()char *wdptr;
20        void configError(char *file, int lc, char *word, char *mesg);
21
22    safesend.[ch]:
23        safeSend() and its pieces for delivery of messages on TCP streams
24        void  initQueuedMsg(int maxconnect);
25        void  safeSend(int pos, const char * msg );
26        void  disconnectClient(int pos);
27        void  QueuedMsg_begin_connect(int pos);
28        void  handle_incoming_message(int pos, char * um, int length);
29        void  send_blocked(int pos);
30
31    ncid_poll.[ch]:
32        (for Mac OS only)
33        int poll(struct pollfd * pfds, unsigned int npfds, int ptimeout);
34
35    strmatch.[ch]
36        int strmatch(const char * string, const char * value, void * regexp);
37
38
39