]> jfr.im git - irc/ircd-hybrid/libopm.git/log
irc/ircd-hybrid/libopm.git
21 years agoAdded connect and poll code
strtok [Sun, 8 Sep 2002 23:56:51 +0000 (23:56 +0000)] 
Added connect and poll code

21 years agoAdded check_poll function and start of 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

21 years agoStarted socket framework with check_established, check_poll and do_connect
strtok [Thu, 5 Sep 2002 04:28:31 +0000 (04:28 +0000)] 
Started socket framework with check_established, check_poll and do_connect

21 years agoAdapted DLINK macros from hyb7 (androsyn)
strtok [Thu, 5 Sep 2002 01:56:41 +0000 (01:56 +0000)] 
Adapted DLINK macros from hyb7 (androsyn)

21 years agoAdded inet.c
strtok [Thu, 5 Sep 2002 00:17:04 +0000 (00:17 +0000)] 
Added inet.c

21 years agoConvert IP to byte format on opm_remote_create
strtok [Thu, 5 Sep 2002 00:08:56 +0000 (00:08 +0000)] 
Convert IP to byte format on opm_remote_create

21 years agoAdded opm_cycle API function
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

21 years agoAdded comments to libopm.h/opm.h
strtok [Wed, 4 Sep 2002 21:47:58 +0000 (21:47 +0000)] 
Added comments to libopm.h/opm.h

21 years agoAdded config ADDRESS type
strtok [Wed, 4 Sep 2002 21:18:37 +0000 (21:18 +0000)] 
Added config ADDRESS type

21 years agoAdded inet.h with common ipv4/ipv6
strtok [Wed, 4 Sep 2002 20:57:37 +0000 (20:57 +0000)] 
Added inet.h with common ipv4/ipv6

21 years agoCleaned up various header files.
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

21 years agoSeperated API and non API definitions between opm.h and libopm.h respectively
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

21 years agoMoved list functions to list.h (structures still reside in opm_common.h)
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)

21 years agoMoved libopm_error.h to opm_error.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

21 years agoChanged list.h to opm_common.h
strtok [Wed, 4 Sep 2002 06:10:30 +0000 (06:10 +0000)] 
Changed list.h to opm_common.h

21 years agoChanged OPM_SCAN_T::scans to OPM_SCAN_T::connections
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

21 years agoUpdated config_free function to free all data properly
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

21 years agoRecode of config.c to use an array of void* instead of struct
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

21 years agoAdded opm_scan function
strtok [Thu, 8 Aug 2002 03:54:38 +0000 (03:54 +0000)] 
Added opm_scan function
Added scan_create function
Added scan_free function

21 years agoRenamed opm_init to opm_create
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

21 years agoAdded opm_remote_free function
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

21 years agoFixed memory leak in config_free
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

21 years agoFurther work on opm_free
strtok [Wed, 7 Aug 2002 06:02:47 +0000 (06:02 +0000)] 
Further work on opm_free

21 years agoAdded opm_free function
strtok [Wed, 7 Aug 2002 02:45:41 +0000 (02:45 +0000)] 
Added opm_free function
Added protocol_config_free function

21 years agoAdded opm_addtype function
strtok [Wed, 7 Aug 2002 01:13:52 +0000 (01:13 +0000)] 
Added opm_addtype function

21 years agoAdded opm_config and config_set functions
strtok [Tue, 6 Aug 2002 21:46:39 +0000 (21:46 +0000)] 
Added opm_config and config_set functions

21 years agoAdded config.c/config.h to seperate config functions from the API
strtok [Mon, 5 Aug 2002 22:09:11 +0000 (22:09 +0000)] 
Added config.c/config.h to seperate config functions from the API

21 years agoAdded opm_init() and config_create()
strtok [Mon, 5 Aug 2002 22:07:31 +0000 (22:07 +0000)] 
Added opm_init() and config_create()

21 years agoRestructured structures
strtok [Mon, 5 Aug 2002 21:33:51 +0000 (21:33 +0000)] 
Restructured structures

21 years agoNo longer need list_t** in list_add and list_remove, this was from the
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

21 years agoMoved source files to src
strtok [Mon, 5 Aug 2002 18:46:44 +0000 (18:46 +0000)] 
Moved source files to src

21 years ago----------------------------------------------------------------------
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.

21 years agoRemoved any casts on MyMalloc
strtok [Mon, 5 Aug 2002 18:07:47 +0000 (18:07 +0000)] 
Removed any casts on MyMalloc

21 years agoFix for if head is also tail (1 element), this code really would be cleaner if circular
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

21 years agoChanged all malloc/free to MyMalloc/MyFree in list.c
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

21 years agoAdded elements to track number of elements in a list
strtok [Mon, 5 Aug 2002 07:55:43 +0000 (07:55 +0000)] 
Added elements to track number of elements in a list

21 years agoRevamped list code to include a list_t and node_t
strtok [Mon, 5 Aug 2002 07:54:17 +0000 (07:54 +0000)] 
Revamped list code to include a list_t and node_t

21 years agoAdded list_create function to create a list node
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

21 years agoopm_new DOES have a return value
strtok [Sun, 4 Aug 2002 02:01:05 +0000 (02:01 +0000)] 
opm_new DOES have a return value

21 years agoAdded initializations to opm_new
strtok [Sun, 4 Aug 2002 01:56:56 +0000 (01:56 +0000)] 
Added initializations to opm_new

21 years agoOops wrote over libopm.c with libopm.o (gcc -o libopm.c -c libopm.c)!
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)!

21 years agoAdded opm_new and opm_free functions.
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.

21 years agoAdded malloc/free functions, should make porting and error handling
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.

21 years agoinitial import start
strtok [Sat, 3 Aug 2002 23:25:28 +0000 (23:25 +0000)] 
initial import