]>
jfr.im git - irc/ircd-hybrid/libopm.git/log
strtok [Sat, 21 Sep 2002 05:50:26 +0000 (05:50 +0000)]
Better describing of OPM_ERR_T codes in libopm-api.txt
strtok [Sat, 21 Sep 2002 05:09:55 +0000 (05:09 +0000)]
Updated libopm-api.txt
strtok [Sat, 21 Sep 2002 03:31:06 +0000 (03:31 +0000)]
Renamed malloc wrappers with libopm_ prefix and added #defines for MyMalloc and MyFree
strtok [Sat, 21 Sep 2002 02:41:23 +0000 (02:41 +0000)]
Prefixed proxy functions with libopm_
strtok [Sat, 21 Sep 2002 01:42:51 +0000 (01:42 +0000)]
Prefixed functions in libopm.c and list.c with libopm_
Made certain functions (which should be) static
strtok [Sat, 21 Sep 2002 00:50:03 +0000 (00:50 +0000)]
Changed all config.c functions to have a libopm_ prefix
strtok [Sat, 14 Sep 2002 22:59:43 +0000 (22:59 +0000)]
Added libopm-api.txt
strtok [Sat, 14 Sep 2002 21:58:39 +0000 (21:58 +0000)]
Use opm_callback on test.c instead of opm_remote_callback
strtok [Sat, 14 Sep 2002 20:44:24 +0000 (20:44 +0000)]
Restructured callback code to use an array.
strtok [Sat, 14 Sep 2002 02:07:57 +0000 (02:07 +0000)]
Removed printf's and comments used to debug
strtok [Sat, 14 Sep 2002 02:04:49 +0000 (02:04 +0000)]
Created a scan queue, if this is working as it should be... the performance increase is
amazing.
andy [Thu, 12 Sep 2002 06:40:37 +0000 (06:40 +0000)]
Check for Nick Faldo
andy [Thu, 12 Sep 2002 06:14:59 +0000 (06:14 +0000)]
Removing a bunch of unused autoconf tests.
andy [Thu, 12 Sep 2002 06:12:12 +0000 (06:12 +0000)]
Some systems don't have inet_aton(), Solaris being a great example. Here's
our own implementation which is only included if inet_aton() is not
available.
andy [Thu, 12 Sep 2002 05:58:49 +0000 (05:58 +0000)]
If a system has strings.h, it needs to be #included wherever string.h is
#included.
andy [Thu, 12 Sep 2002 05:55:56 +0000 (05:55 +0000)]
Check for unistd.h.
andy [Thu, 12 Sep 2002 05:50:27 +0000 (05:50 +0000)]
Ignore generated binary
andy [Thu, 12 Sep 2002 05:49:49 +0000 (05:49 +0000)]
Check if we need & have sys/time.h.
andy [Thu, 12 Sep 2002 05:45:07 +0000 (05:45 +0000)]
Check HAVE_FCNTL_H.
andy [Thu, 12 Sep 2002 05:42:42 +0000 (05:42 +0000)]
Check HAVE_SYS_POLL_H.
andy [Thu, 12 Sep 2002 05:36:48 +0000 (05:36 +0000)]
Add RCS tags to all .c files. Protect standard headers with STDC_HEADERS.
Correct missing "const" in inetntop() prototype.
andy [Thu, 12 Sep 2002 04:39:29 +0000 (04:39 +0000)]
DOn't install "test" and "test_debug", they're just test programs.
andy [Thu, 12 Sep 2002 03:56:07 +0000 (03:56 +0000)]
All of these files I initially copied in. But, apparently, "You should use the
libtoolize program, rather than manually copying these files into your
package." *smacked wrist*
andy [Thu, 12 Sep 2002 03:45:07 +0000 (03:45 +0000)]
Change default install prefix to /usr/local/libopm.
Install LICENSE as well.
andy [Thu, 12 Sep 2002 03:41:18 +0000 (03:41 +0000)]
First stab at autoconf/automake/libtoolizing libopm.
andy [Thu, 12 Sep 2002 03:40:01 +0000 (03:40 +0000)]
And again -- some people will need ./configure
andy [Thu, 12 Sep 2002 03:38:03 +0000 (03:38 +0000)]
More things for CVS to ignore.
andy [Thu, 12 Sep 2002 03:33:24 +0000 (03:33 +0000)]
A little bit zealous with the cvsignore there.
andy [Thu, 12 Sep 2002 03:32:33 +0000 (03:32 +0000)]
autoconf / automake / libtool produce lots of files that need to be
ignored!
strtok [Wed, 11 Sep 2002 18:49:17 +0000 (18:49 +0000)]
Fixed various major memory leaks.
Made more NULL style changes.
strtok [Wed, 11 Sep 2002 07:47:00 +0000 (07:47 +0000)]
Added checks for NULL function callbacks.
strtok [Mon, 9 Sep 2002 20:15:29 +0000 (20:15 +0000)]
Fixed scan_free and connection_free clenaup
strtok [Mon, 9 Sep 2002 18:48:27 +0000 (18:48 +0000)]
Fix for timeouts. Only timeout a socket if it's not unestablished!
strtok [Mon, 9 Sep 2002 18:44:13 +0000 (18:44 +0000)]
Added fd_limit functionality
Added unsigned int fd_use in OPM_T
strtok [Mon, 9 Sep 2002 18:07:50 +0000 (18:07 +0000)]
Updated test.c to handle error callbacks
strtok [Mon, 9 Sep 2002 17:50:29 +0000 (17:50 +0000)]
Added setup_remote function in libopm.c to fill a remote struct with temporary connection struct information
Added OPM_CONFIG_MAX_READ and functionality
Added OPM_CONFIG_TIMEOUT and functionality
Added OPM_ERR_MAX_READ and do_error functionality
strtok [Mon, 9 Sep 2002 07:54:36 +0000 (07:54 +0000)]
Fixed timeout logic
Fixed passing of proper protocol on fun_timeout
strtok [Mon, 9 Sep 2002 07:50:03 +0000 (07:50 +0000)]
Converted all protocols to libopm (cisco, socks4, socks5 and wingate)
strtok [Mon, 9 Sep 2002 07:15:59 +0000 (07:15 +0000)]
Added check_close code
Added fun_timeout functionality
Added fun_end functionality
strtok [Mon, 9 Sep 2002 06:28:46 +0000 (06:28 +0000)]
Added callback functionality for fun_negfail
strtok [Mon, 9 Sep 2002 04:22:14 +0000 (04:22 +0000)]
Added OPM_ERR_BADPROTOCOL
strtok [Mon, 9 Sep 2002 04:19:10 +0000 (04:19 +0000)]
Renamed OPM_ERR_INVALIDKEY to BADKEY
Renamed OPM_ERR_BADADDRESS to BADVALUE
strtok [Mon, 9 Sep 2002 04:16:43 +0000 (04:16 +0000)]
Added do_error function
Added error codes for opm_config return
strtok [Mon, 9 Sep 2002 03:39:40 +0000 (03:39 +0000)]
Added do_openproxy and open proxy callback
strtok [Mon, 9 Sep 2002 03:12:24 +0000 (03:12 +0000)]
Added proxy.c/proxy.h which contains protocol specific functions
strtok [Mon, 9 Sep 2002 03:11:09 +0000 (03:11 +0000)]
Read in data from connection and check against target string
strtok [Mon, 9 Sep 2002 00:15:12 +0000 (00:15 +0000)]
Use NULL instead of 0 in list.c.
strtok [Sun, 8 Sep 2002 23:56:51 +0000 (23:56 +0000)]
Added connect and poll code
strtok [Thu, 5 Sep 2002 12:42:00 +0000 (12:42 +0000)]
Added check_poll function and start of poll() code
Added do_readready function
Added do_writeready function
strtok [Thu, 5 Sep 2002 04:28:31 +0000 (04:28 +0000)]
Started socket framework with check_established, check_poll and do_connect
strtok [Thu, 5 Sep 2002 01:56:41 +0000 (01:56 +0000)]
Adapted DLINK macros from hyb7 (androsyn)
strtok [Thu, 5 Sep 2002 00:17:04 +0000 (00:17 +0000)]
Added inet.c
strtok [Thu, 5 Sep 2002 00:08:56 +0000 (00:08 +0000)]
Convert IP to byte format on opm_remote_create
strtok [Wed, 4 Sep 2002 22:46:00 +0000 (22:46 +0000)]
Added opm_cycle API function
Fixed prototype for opm_remote_create
Changed config vars and types to use OPM_ prefix
strtok [Wed, 4 Sep 2002 21:47:58 +0000 (21:47 +0000)]
Added comments to libopm.h/opm.h
strtok [Wed, 4 Sep 2002 21:18:37 +0000 (21:18 +0000)]
Added config ADDRESS type
strtok [Wed, 4 Sep 2002 20:57:37 +0000 (20:57 +0000)]
Added inet.h with common ipv4/ipv6
strtok [Wed, 4 Sep 2002 06:51:53 +0000 (06:51 +0000)]
Cleaned up various header files.
Moved config API functions from config.h to opm.h
strtok [Wed, 4 Sep 2002 06:36:07 +0000 (06:36 +0000)]
Seperated API and non API definitions between opm.h and libopm.h respectively
strtok [Wed, 4 Sep 2002 06:19:22 +0000 (06:19 +0000)]
Moved list functions to list.h (structures still reside in opm_common.h)
strtok [Wed, 4 Sep 2002 06:15:49 +0000 (06:15 +0000)]
Moved libopm_error.h to opm_error.h
Moved all type #defines to opm_types.h
strtok [Wed, 4 Sep 2002 06:10:30 +0000 (06:10 +0000)]
Changed list.h to opm_common.h
strtok [Fri, 9 Aug 2002 19:47:51 +0000 (19:47 +0000)]
Changed OPM_SCAN_T::scans to OPM_SCAN_T::connections
Added connection_create function
Added connection_free function
Added code to create the list of connections/protocols in scan_create
strtok [Fri, 9 Aug 2002 03:44:49 +0000 (03:44 +0000)]
Updated config_free function to free all data properly
Added config_gettype(key) function
strtok [Fri, 9 Aug 2002 00:32:02 +0000 (00:32 +0000)]
Recode of config.c to use an array of void* instead of struct
strtok [Thu, 8 Aug 2002 03:54:38 +0000 (03:54 +0000)]
Added opm_scan function
Added scan_create function
Added scan_free function
strtok [Wed, 7 Aug 2002 23:28:11 +0000 (23:28 +0000)]
Renamed opm_init to opm_create
Renamed opm_remote to opm_remote_create
strtok [Wed, 7 Aug 2002 22:53:09 +0000 (22:53 +0000)]
Added opm_remote_free function
Moved prototypes for internal functions from libopm.h -> libopm.c
strtok [Wed, 7 Aug 2002 21:22:35 +0000 (21:22 +0000)]
Fixed memory leak in config_free
Cleaned up opm_free
Added libopm_error.h (to hold error codes), and OPM_ERR_T
strtok [Wed, 7 Aug 2002 06:02:47 +0000 (06:02 +0000)]
Further work on opm_free
strtok [Wed, 7 Aug 2002 02:45:41 +0000 (02:45 +0000)]
Added opm_free function
Added protocol_config_free function
strtok [Wed, 7 Aug 2002 01:13:52 +0000 (01:13 +0000)]
Added opm_addtype function
strtok [Tue, 6 Aug 2002 21:46:39 +0000 (21:46 +0000)]
Added opm_config and config_set functions
strtok [Mon, 5 Aug 2002 22:09:11 +0000 (22:09 +0000)]
Added config.c/config.h to seperate config functions from the API
strtok [Mon, 5 Aug 2002 22:07:31 +0000 (22:07 +0000)]
Added opm_init() and config_create()
strtok [Mon, 5 Aug 2002 21:33:51 +0000 (21:33 +0000)]
Restructured structures
strtok [Mon, 5 Aug 2002 19:51:27 +0000 (19:51 +0000)]
No longer need list_t** in list_add and list_remove, this was from the
attempted polymorphic code
No need to cast returns from malloc
strtok [Mon, 5 Aug 2002 18:46:44 +0000 (18:46 +0000)]
Moved source files to src
strtok [Mon, 5 Aug 2002 18:14:36 +0000 (18:14 +0000)]
----------------------------------------------------------------------
Don't need list_t ** anymore in list_add, list_remove. This was from the
attempted polymorphic code.
strtok [Mon, 5 Aug 2002 18:07:47 +0000 (18:07 +0000)]
Removed any casts on MyMalloc
strtok [Mon, 5 Aug 2002 08:29:56 +0000 (08:29 +0000)]
Fix for if head is also tail (1 element), this code really would be cleaner if circular
strtok [Mon, 5 Aug 2002 08:08:56 +0000 (08:08 +0000)]
Changed all malloc/free to MyMalloc/MyFree in list.c
Added node_free and list_free functions
strtok [Mon, 5 Aug 2002 07:55:43 +0000 (07:55 +0000)]
Added elements to track number of elements in a list
strtok [Mon, 5 Aug 2002 07:54:17 +0000 (07:54 +0000)]
Revamped list code to include a list_t and node_t
strtok [Mon, 5 Aug 2002 03:31:01 +0000 (03:31 +0000)]
Added list_create function to create a list node
Added list_add function to add a list node to a list
strtok [Sun, 4 Aug 2002 02:01:05 +0000 (02:01 +0000)]
opm_new DOES have a return value
strtok [Sun, 4 Aug 2002 01:56:56 +0000 (01:56 +0000)]
Added initializations to opm_new
strtok [Sun, 4 Aug 2002 01:25:34 +0000 (01:25 +0000)]
Oops wrote over libopm.c with libopm.o (gcc -o libopm.c -c libopm.c)!
strtok [Sun, 4 Aug 2002 01:15:50 +0000 (01:15 +0000)]
Added opm_new and opm_free functions.
Added comments to malloc.c and libopm.c.
strtok [Sun, 4 Aug 2002 00:16:37 +0000 (00:16 +0000)]
Added malloc/free functions, should make porting and error handling
easier in the future.
strtok [Sat, 3 Aug 2002 23:25:28 +0000 (23:25 +0000)]
initial import