Commit 45c4925b authored by Per Cederqvist's avatar Per Cederqvist
Browse files

Move struct isc_mcb and large parts of struct isc_scb from isc.h to

intern.h.
parent 4f63b955
2003-07-31 Per Cederqvist <ceder@ceder.dyndns.org>
Move struct isc_mcb and large parts of struct isc_scb from isc.h
to intern.h.
* src/isc.h (isc_msgqueue): Forward declaration removed.
(isc_session_cfg): Ditto.
(isc_scb_entry): Ditto.
(struct isc_scb): Moved a lot of fields to struct isc_scb_internal
in intern.h.
(struct isc_mcb): Moved to intern.h.
(isc_getoopsource): New function.
* src/intern.h (struct isc_mcb): Moved here from isc.h.
(struct isc_scb_internal): New struct, that contains all the parts
of struct isc_scb that the user need not know about.
(struct isc_scb_entry): Refer to the internal structure.
(isc_oflush): Use the internal structure.
(isc_create): Ditto.
(isc_insert): Ditto.
(isc_remove): Ditto.
(isc_createtcp): Ditto.
(isc_bindtcp): Ditto.
(isc_check_read_callback): Ditto.
(isc_cancel_read_callback): Ditto.
(isc_cancel_write_callback): Ditto.
* src/isc_tcp.c (isc_tcp_accept): Handle struct isc_scb_internal.
(isc_createtcp): Handle struct isc_scb_internal.
(isc_bindtcp): Handle struct isc_scb_internal.
(isc_accept_cb): Handle struct isc_scb_internal.
(isc_listentcp): Handle struct isc_scb_internal.
* src/isc_stdout.c (isc_putc): Handle struct isc_scb_internal.
(isc_write): Handle struct isc_scb_internal.
* src/isc_session.c (isc_insert): Handle struct isc_scb_internal.
(isc_findsession): Handle struct isc_scb_internal.
(isc_remove): Handle struct isc_scb_internal.
* src/isc_output.c (isc_flush): Handle struct isc_scb_internal.
(write_cb): Handle struct isc_scb_internal.
(isc_oflush): Handle struct isc_scb_internal.
* src/isc_master.c (isc_shutdown): Handle struct isc_scb_internal.
* src/isc_event.c (isc_read_data): Handle struct isc_scb_internal.
2003-07-28 Per Cederqvist <ceder@ceder.dyndns.org>
Code cleanup.
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment