summaryrefslogtreecommitdiffstats
path: root/common
Commit message (Collapse)AuthorAgeFilesLines
* * add client code detection to tunnel modepiaip2009-06-081-25/+54
| | | | | | | * refine telnet library to support write customization git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4517 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* * fix: crashed for read_more case in tty_read.piaip2009-06-071-1/+1
| | | | | | | | * example: got waterball then SEGV * reason: telnet_process should take signed size_t. git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4515 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* * change telnet interface to accept extra parameter for callbacks (*_arg)piaip2009-06-071-18/+18
| | | | | | | * refine mbbsd to allow pre-setting terminal window git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4514 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* * improve tobind() with customizable parameterspiaip2009-06-071-4/+102
| | | | | | | * add ancillary remote fd API git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4507 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - extract telnet.c to cmsyskcwu2009-06-072-1/+345
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4505 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - fix compile error on linuxkcwu2009-06-071-1/+2
| | | | | | | - fix compile warnings git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4502 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - fix compile warningskcwu2009-06-071-4/+5
| | | | | | | - str_decode_M3: Assume output size is shorter than input size. git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4501 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - move code of innbbsd/str_decode.c to cmsys/string.ckcwu2009-06-071-0/+260
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4499 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - many small revisekcwu2009-05-272-3/+4
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4487 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* Move settings for bsd.lib.mk down to pttbbs.mkwens2009-03-014-30/+3
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4443 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* remove my_ctimewens2009-03-011-13/+8
| | | | | | | add ctime4_r git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4442 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* Don't build profiling libraries on FreeBSDwens2009-03-014-0/+16
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4440 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* Fix DBCS_strcasestr return typewens2008-11-011-1/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4413 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* strstr is char *, not const char *wens2008-10-011-1/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4407 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* revert last commitwens2008-08-211-1/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4403 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* *:xxx and :xxx should listen on INADDR_ANYwens2008-08-211-1/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4402 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* Don't close all fds, do it in daemon for more flexibilitywens2008-08-211-0/+2
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4401 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* Common daemonize functionwens2008-08-212-1/+91
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4399 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* Use file_exist_record directlywens2008-08-042-10/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4392 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* close file only if STAMP_FILEwens2008-07-311-1/+3
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4391 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* Change Vector_searchwens2008-07-051-2/+2
| | | | | | | fix namecomplete case error git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4385 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* Reorder libraries.wens2008-06-281-1/+1
| | | | | | | Use time() in fhdr_stamp.c git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4384 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* util/mandex.c uses stamplink.wens2008-06-281-6/+2
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4382 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* Add header fileswens2008-06-191-0/+2
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4380 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* Move stamp* to common library, with weak symbolswens2008-06-192-1/+98
| | | | | | | | Remove stamplink Header file cleanup git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4379 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* Split out os dependent librarywens2008-06-178-299/+289
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4378 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* Clean up header dependencieswens2008-06-175-3/+10
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4377 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* Add const modifierwens2008-06-161-3/+3
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4374 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* Fix maxlength counterwens2008-06-161-2/+2
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4373 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* Constant vector (initialized with reference to given data)wens2008-06-161-1/+19
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4369 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* General vector-like listwens2008-06-152-1/+162
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4357 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* partial fix dietlibc supplemental librarywens2008-06-132-1/+18
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4352 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* Move BBS non-related functions to independent librarywens2008-06-132-1/+195
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4350 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* Makefile cleanupwens2008-06-133-42/+15
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4349 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* Clean up makefileswens2008-06-122-4/+0
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4346 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - (internal) fix DBCS_strcasestr() APIpiaip2008-05-101-6/+10
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4291 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - (internal) replace all localtime4() by localtime4_r().piaip2008-05-051-0/+14
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4272 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - (internal) add localtime4_r thread-safe APIpiaip2008-05-051-0/+14
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4271 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - (internal) change localtime() to localtime_r() API.piaip2008-05-051-12/+18
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4270 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - (internal) add more Cdate format functionpiaip2008-05-051-4/+17
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4268 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - (internal) workaround - fix build dependency for var.hpiaip2008-05-051-1/+4
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4267 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - (internal) export osdep from cmsys, fixing bbsctl linking errorpiaip2008-04-191-1/+1
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4196 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - (internal) tobind/toconnect: allow specifying INADDR_ANY (*:port) or ↵piaip2008-04-181-14/+29
| | | | | | loopback (:port). git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4186 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - (internal) change chat to use vgetstring with new callback systempiaip2008-04-171-0/+60
| | | | | | | - (internal) move DBCS API to string lib git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4176 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - (internal) visio: add vgetspiaip2008-04-171-0/+20
| | | | | | | | - (internal) add key name KEY_BS2 - (internal) move getDBCSstatus to DBCS_Status git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4174 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - (internal) visio: add columned output API.piaip2008-04-161-0/+44
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4170 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - add Now(), m3 flavor time format API.piaip2008-04-123-1/+15
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4134 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - (internal) un sockets requires removing file path first.piaip2008-04-111-0/+3
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4131 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - net: should not change constant string.piaip2008-04-101-2/+6
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4126 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* Change tobind/toconnect interface.wens2008-04-101-12/+29
| | | | | | | **OUTTACACHE is now UTMPD** git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4121 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* fix if/else sequencewens2008-04-091-2/+2
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4117 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* Support UNIX socket domainswens2008-04-091-29/+71
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4116 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* Drop Solaris supportwens2008-04-091-79/+0
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4115 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - (internal) change mail/log to specific API.piaip2008-04-032-1/+15
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4070 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - enable angel to temporary disable pager again.piaip2008-04-011-1/+2
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4054 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - (internal) enable building utmpserverpiaip2008-03-311-0/+43
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4053 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - (experimental) mask ip(fromhost): USE_MASKED_FROMHOSTpiaip2008-03-292-0/+14
| | | | | | | - board: make 'w' (save_brc) more user friendly. git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4039 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* - (internal) move UTIL_C API from mbbsd/stuff to cmbbs.piaip2008-03-274-1/+148
| | | | git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4031 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
* (internal) refine directory layout: libbbs/libbbsutil -> common/bbs,sys.piaip2008-03-2718-0/+3241
git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4027 63ad8ddf-47c3-0310-b6dd-a9e9d9715204