OSSP CVS Repository

ossp - History for /ossp-pkg/xds/internal.h
Not logged in
[Honeypot]  [Browse]  [Home]  [Login]  [Reports
[Search]  [Ticket]  [Timeline
  [Directory]  [Show Milestones

DateVersion Description
2001-Aug-08 21:15    1.10    Check-in [634]: First cut of the ruthless style adjustments to OSSP XDS:

o adjust source tree to follow OSSP source tree style by heavily combining sources into smaller sets (needs more work when still missing parts are added later)

o automatic re-indentation of sources with GNU indent (still needs manual review and adjustments; will follow)

These two heavy steps were mostly done automatically with the help of two helper scripts written in Perl. So expect more manual adjustments to follow... By rse. (diff)

2001-Aug-02 10:12    1.9    Check-in [592]: - Moved definition of xds_check_parameter(), xds_init_encoding_engine(), and xds_init_decoding_engine() from internal.h to xds.h so that the callbacks don't need to include internal.h.

- Renamed declare_formatting_engine() to xds_declare_formatting_engine(). By simons. (diff)

2001-Aug-01 17:25    1.8    Check-in [591]: Merged the whole contents of branch "callback-semantic-rewrite" into the main branch. The changes there include:

- A change of the callback semantics; callbacks do now return XDS_ERR_(UNDER|OVER)FLOW in case the buffer size doesn't fit. Rather than passing the differing byte size through the return code, it is stored in the location used_buffer_size points to -- a new parameter provided to all callbacks.

   In order to implement this, the framework, all callbacks and most
   of the test suits had to be adapted.

- internal.h now provides the macro xds_check_parameter(), which can be used to verify the contents of function parameters with assert() and if in one line. If assert()s are deactivated, the routine will still return XDS_ERR_INVALID_ARG.

   Because of this change, internal.h now includes the system header
   assert.h. This means that this include coulde be removed from
   almost all modules.

- internal.h now provides the macros xds_init_(en|de)coding_engine(). These can be used to comfortably verify a callback's parameters and to verify the buffer size. All engines have been rewritten to use these. By simons. (diff)

2001-Aug-01 15:25    1.7.2.2    Check-in [4264] on branch callback-semantic-rewrite: - Added xds_init_encoding_engine() and xds_init_decoding_engine() macros.

- Include assert.h since we use the assert() function in our header. By simons. (diff)

2001-Aug-01 11:55    1.7.2.1    Check-in [4250] on branch callback-semantic-rewrite: Added xds_check_parameter() macro to short-cut the assert() and if-statements at the begining of every routine. Also rewrote some modules to take advantage of that macro. By simons. (diff)
2001-Jul-31 17:27    1.7    Check-in [577]: Implemented xml_encode_begin(), xml_decode_begin(), xml_encode_end(), and xml_decode_end(). By simons.
2001-Jul-18 19:49    1.6    Check-in [4208]: Added XDS_TRUE and XDS_FALSE defines and started using them in the sources. By simons. (diff)
2001-Jul-09 19:21    1.5    Check-in [4181]: Added XDS_INITIAL_BUFFER_CAPACITY define. By simons. (diff)
2001-Jul-08 17:28    1.4    Check-in [4167]: Added define for the initial size of the engines array to internal.h and use it in xds_register(). By simons. (diff)
2001-Jul-08 17:20    1.3    Check-in [4164]: Added generic xds_set_capacity() function that will handle the enlarging of dynamic buffers for the rest of the code. By simons. (diff)
2001-Jul-08 16:09    1.2    Check-in [4158]: - Added definition of engine_map_t. - Added prototype for xds_find_engine(). - Renamed buffer_size to buffer_capacity in xds_context. - Added engine_map_t stuff to xds_context. By simons. (diff)
2001-Jul-04 18:05    1.1    Check-in [4145]: This is our internal header which defines all the data structures that are opaque for the application developer. By simons.

CVSTrac 2.0.1