aboutsummaryrefslogtreecommitdiff
path: root/lib
AgeCommit message (Collapse)AuthorFiles
2023-02-10Version 1.0HEADv1.0masterSergey Poznyakoff3
2020-02-27Add missing copylefts; improve docsSergey Poznyakoff4
2020-02-27Implememt client-side basic authSergey Poznyakoff4
* lib/Makefile.am: Add base64.c * lib/base64.c: New file. * lib/basicauth.c: Move base64 support to a separate source. * lib/basicauth.h (base64_encode,base64_decode): New protos. * src/strsplit.c: New file. * src/Makefile.am (libping903_a_SOURCES): Add strsplit.c * src/defs.h (CRED_FILE_NAME): New macro. (ecalloc,strsplit,argcv_free): New proto. * src/mem.c (ecalloc): New function. * src/ping903.c (strsplit): Remove. (cf_auth): Use modified strsplit. * src/ping903q.c (http_query): Attempt to authenticate if basic auth is required. * examples/lib/LWP/Ping903.pm: New file. * examples/dbload: Use LWP::Ping903 * examples/inspect: Likewise. * examples/ipadd: Likewise. * examples/ipdel: Likewise.
2020-02-27Implement basic authSergey Poznyakoff8
* Makefile.am (SUBDIRS): Add lib * configure.ac: Build lib/Makefile * lib/Makefile.am: New file. * lib/apr.c: New file. * lib/basicauth.c: New file. * lib/basicauth.h: New file. * lib/md5.c: New file. * lib/md5.h: New file. * lib/sha1.c: New file. * lib/sha1.h: New file. * src/Makefile.am: Add lib to the include path * src/config.c: New statement "auth". * src/ping903.c: Implement basic auth. * src/ping903.h (cf_auth): New proto.

Return to:

Send suggestions and report system problems to the System administrator.