lwres_buffer.html revision ddccd5811feff696ba460dabfb666ce61040f545
885f47576842cf3c569315b9a48bd9f0ca03f203Automatic Updater - Copyright (C) 2000, 2001 Internet Software Consortium.
59528addd704f8d5757b54e540520f74e588a7c7Automatic Updater - Permission to use, copy, modify, and distribute this software for any
59528addd704f8d5757b54e540520f74e588a7c7Automatic Updater - purpose with or without fee is hereby granted, provided that the above
2bb3422dc683c013db7042f5736240de6b86f182Automatic Updater - copyright notice and this permission notice appear in all copies.
75b70a68aefaa17ac4e768d5ed85d2f50d471490Automatic Updater - THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
59528addd704f8d5757b54e540520f74e588a7c7Automatic Updater - DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
ea854b585041ad19f70f7af15e08144ef2c2bd1bMark Andrews - IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
78cb74fab4665da2e2641ba909c6f59f74cc4193Automatic Updater - INTERNET SOFTWARE CONSORTIUM BE LIABLE FOR ANY SPECIAL, DIRECT,
c89d02f2fb4c06168236d600e86831cff324f763Mark Andrews - INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING
90ff38a0d8deaf5f9c2aa5916d99b2e572d28738Automatic Updater - FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT,
9e3a7b0faf417a10f5f689edf288807b2d5eedc5Brian Wellington - NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION
ac4e70ff8955669341f435bc0a734a17c01af124Mark Andrews - WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
56874aef380a64a2c183b7c282c3e7a361d67fa1Automatic Updater>lwres_buffer</TITLE
96713299d08c0735c18ebe8772dd2cc1ecd4356aAutomatic UpdaterNAME="GENERATOR"
3cc98b8ecedcbc8465f1cf2740b966b315662430Automatic UpdaterCONTENT="Modular DocBook HTML Stylesheet Version 1.61
96713299d08c0735c18ebe8772dd2cc1ecd4356aAutomatic UpdaterCLASS="REFENTRY"
80faf1588895fd26490f82f95a7a1b771df1c324Automatic UpdaterBGCOLOR="#FFFFFF"
c651f15b30f1dae5cc2f00878fb5da5b3a35a468Mark AndrewsTEXT="#000000"
efb0e886f18894a1d2489f1ad74ad14b579e11c7Mark AndrewsVLINK="#840084"
f2770f6b39a9b2a98afb7a11ed105f73f1570c1eAutomatic UpdaterALINK="#0000FF"
91216cff91b34c9ff6e846dc23f248219cafe660Andreas Gustafsson>lwres_buffer</A
9513a2a6670951f5cf5477fcfec9f933fcaff628Automatic UpdaterCLASS="REFNAMEDIV"
9513a2a6670951f5cf5477fcfec9f933fcaff628Automatic Updater>lwres_buffer_init, lwres_buffer_invalidate, lwres_buffer_add, lwres_buffer_subtract, lwres_buffer_clear, lwres_buffer_first, lwres_buffer_forward, lwres_buffer_back, lwres_buffer_getuint8, lwres_buffer_putuint8, lwres_buffer_getuint16, lwres_buffer_putuint16, lwres_buffer_getuint32, lwres_buffer_putuint32, lwres_buffer_putmem, lwres_buffer_getmem -- lightweight resolver buffer management</DIV
aa9c561961e9d877946ebaa8795fa2be054ab7bfEvan HuntCLASS="REFSYNOPSISDIV"
9513a2a6670951f5cf5477fcfec9f933fcaff628Automatic UpdaterCLASS="FUNCSYNOPSIS"
9513a2a6670951f5cf5477fcfec9f933fcaff628Automatic UpdaterCLASS="FUNCSYNOPSISINFO"
9cd5eb6fe0f26d65724b99216cb31dcdd12e4afdAutomatic UpdaterCLASS="FUNCDEF"
59528addd704f8d5757b54e540520f74e588a7c7Automatic Updaterlwres_buffer_init</CODE
80faf1588895fd26490f82f95a7a1b771df1c324Automatic Updater>(lwres_buffer_t *b, void *base, unsigned int length);</CODE
80faf1588895fd26490f82f95a7a1b771df1c324Automatic UpdaterCLASS="FUNCDEF"
1a06700908f5a1d9f4a8d51285a0fd971e2f9117Automatic Updaterlwres_buffer_invalidate</CODE
c651f15b30f1dae5cc2f00878fb5da5b3a35a468Mark Andrews>(lwres_buffer_t *b);</CODE
91216cff91b34c9ff6e846dc23f248219cafe660Andreas GustafssonCLASS="FUNCDEF"
f2770f6b39a9b2a98afb7a11ed105f73f1570c1eAutomatic Updaterlwres_buffer_add</CODE
efb0e886f18894a1d2489f1ad74ad14b579e11c7Mark Andrews>(lwres_buffer_t *b, unsigned int n);</CODE
91216cff91b34c9ff6e846dc23f248219cafe660Andreas GustafssonCLASS="FUNCDEF"
dd65eb1efb40b1c47d57963192bfc54873b219beAutomatic Updaterlwres_buffer_subtract</CODE
dd65eb1efb40b1c47d57963192bfc54873b219beAutomatic Updater>(lwres_buffer_t *b, unsigned int n);</CODE
2a31bd531072824ef252c18303859d6af7451b00Francis DupontCLASS="FUNCDEF"
133e6d43fa82e80d3798be4de00f4540f485ec6cAutomatic Updaterlwres_buffer_clear</CODE
2a31bd531072824ef252c18303859d6af7451b00Francis Dupont>(lwres_buffer_t *b);</CODE
dd65eb1efb40b1c47d57963192bfc54873b219beAutomatic UpdaterCLASS="FUNCDEF"
dd65eb1efb40b1c47d57963192bfc54873b219beAutomatic Updaterlwres_buffer_first</CODE
dd65eb1efb40b1c47d57963192bfc54873b219beAutomatic Updater>(lwres_buffer_t *b);</CODE
c651f15b30f1dae5cc2f00878fb5da5b3a35a468Mark AndrewsCLASS="FUNCDEF"
ae7e54b14c946e0984c191554db9abb4893f9349Automatic Updaterlwres_buffer_forward</CODE
c651f15b30f1dae5cc2f00878fb5da5b3a35a468Mark Andrews>(lwres_buffer_t *b, unsigned int n);</CODE
f2770f6b39a9b2a98afb7a11ed105f73f1570c1eAutomatic UpdaterCLASS="FUNCDEF"
f2770f6b39a9b2a98afb7a11ed105f73f1570c1eAutomatic Updaterlwres_buffer_back</CODE
f2770f6b39a9b2a98afb7a11ed105f73f1570c1eAutomatic Updater>(lwres_buffer_t *b, unsigned int n);</CODE
f2770f6b39a9b2a98afb7a11ed105f73f1570c1eAutomatic UpdaterCLASS="FUNCDEF"
aa1d397c4736cd86540555193d71e55fa3b37b2aMark Andrews>lwres_uint8_t
91216cff91b34c9ff6e846dc23f248219cafe660Andreas Gustafssonlwres_buffer_getuint8</CODE
dd65eb1efb40b1c47d57963192bfc54873b219beAutomatic Updater>(lwres_buffer_t *b);</CODE
133e6d43fa82e80d3798be4de00f4540f485ec6cAutomatic UpdaterCLASS="FUNCDEF"
91216cff91b34c9ff6e846dc23f248219cafe660Andreas Gustafssonlwres_buffer_putuint8</CODE
f2770f6b39a9b2a98afb7a11ed105f73f1570c1eAutomatic Updater>(lwres_buffer_t *b, lwres_uint8_t val);</CODE
0ce87e5749aabb8eef1e0a37e4bd6e6ffa1d7196Automatic UpdaterCLASS="FUNCDEF"
0df8ead472f207020f8da22a185fe4b945248ab8Automatic Updater>lwres_uint16_t
2bb3422dc683c013db7042f5736240de6b86f182Automatic Updaterlwres_buffer_getuint16</CODE
59528addd704f8d5757b54e540520f74e588a7c7Automatic Updater>(lwres_buffer_t *b);</CODE
ce9cad6bb04869c5e94d9dc721032b25117f9210Automatic UpdaterCLASS="FUNCDEF"
9513a2a6670951f5cf5477fcfec9f933fcaff628Automatic Updaterlwres_buffer_putuint16</CODE
ce9cad6bb04869c5e94d9dc721032b25117f9210Automatic Updater>(lwres_buffer_t *b, lwres_uint16_t val);</CODE
ce9cad6bb04869c5e94d9dc721032b25117f9210Automatic UpdaterCLASS="FUNCDEF"
ce9cad6bb04869c5e94d9dc721032b25117f9210Automatic Updater>lwres_uint32_t
59528addd704f8d5757b54e540520f74e588a7c7Automatic Updaterlwres_buffer_getuint32</CODE
ce9cad6bb04869c5e94d9dc721032b25117f9210Automatic Updater>(lwres_buffer_t *b);</CODE
ce9cad6bb04869c5e94d9dc721032b25117f9210Automatic UpdaterCLASS="FUNCDEF"
ce9cad6bb04869c5e94d9dc721032b25117f9210Automatic Updaterlwres_buffer_putuint32</CODE
19b3dc94bce93fa76bd7e066f9298630dbc9dcb4Automatic Updater>(lwres_buffer_t *b, lwres_uint32_t val);</CODE
ce9cad6bb04869c5e94d9dc721032b25117f9210Automatic UpdaterCLASS="FUNCDEF"
59528addd704f8d5757b54e540520f74e588a7c7Automatic Updaterlwres_buffer_putmem</CODE
ce9cad6bb04869c5e94d9dc721032b25117f9210Automatic Updater>(lwres_buffer_t *b, const unsigned char *base, unsigned int length);</CODE
ce9cad6bb04869c5e94d9dc721032b25117f9210Automatic UpdaterCLASS="FUNCDEF"
bbb069be941f649228760edcc241122933c066d2Automatic Updaterlwres_buffer_getmem</CODE
9cd5eb6fe0f26d65724b99216cb31dcdd12e4afdAutomatic Updater>(lwres_buffer_t *b, unsigned char *base, unsigned int length);</CODE
59528addd704f8d5757b54e540520f74e588a7c7Automatic UpdaterCLASS="REFSECT1"
c651f15b30f1dae5cc2f00878fb5da5b3a35a468Mark AndrewsNAME="AEN106"
f7c88d61cc1ad2435b0b7cfaedfc9d5248c0be25Automatic Updater>DESCRIPTION</H2
ce9cad6bb04869c5e94d9dc721032b25117f9210Automatic Updater>These functions provide bounds checked access to a region of memory
bc0a53583d92309bebcf93c408e2f3247ebd3d3cAutomatic Updaterwhere data is being read or written.
7f94d9a8162c9a96b56e66176702b66e79d8e1a2Automatic UpdaterThey are based on, and similar to, the
7f94d9a8162c9a96b56e66176702b66e79d8e1a2Automatic UpdaterCLASS="LITERAL"
9cd5eb6fe0f26d65724b99216cb31dcdd12e4afdAutomatic Updater>isc_buffer_</TT
9e3a7b0faf417a10f5f689edf288807b2d5eedc5Brian Wellingtonfunctions in the ISC library.</P
cf7e98f59148b559946a7f1ca728471374f1eef3Automatic Updater>A buffer is a region of memory, together with a set of related
ce9cad6bb04869c5e94d9dc721032b25117f9210Automatic UpdaterCLASS="EMPHASIS"
cf7e98f59148b559946a7f1ca728471374f1eef3Automatic Updater>used region</I
f2770f6b39a9b2a98afb7a11ed105f73f1570c1eAutomatic UpdaterCLASS="EMPHASIS"
9513a2a6670951f5cf5477fcfec9f933fcaff628Automatic Updater> region are disjoint, and
71bd43eebd9d6e42dbcae62b730f5b6508d5acd8Automatic Updatertheir union is the buffer's region.
0ce87e5749aabb8eef1e0a37e4bd6e6ffa1d7196Automatic UpdaterThe used region extends from the beginning of the buffer region to the
9e3a7b0faf417a10f5f689edf288807b2d5eedc5Brian Wellingtonlast used byte.
9513a2a6670951f5cf5477fcfec9f933fcaff628Automatic UpdaterThe available region extends from one byte greater than the last used
3857cb6fcabeb79d85de4b3e3e4ab99912b701f8Mark Andrewsbyte to the end of the buffer's region.
59528addd704f8d5757b54e540520f74e588a7c7Automatic UpdaterThe size of the used region can be changed using various
80faf1588895fd26490f82f95a7a1b771df1c324Automatic Updaterbuffer commands.
c651f15b30f1dae5cc2f00878fb5da5b3a35a468Mark AndrewsInitially, the used region is empty.</P
91216cff91b34c9ff6e846dc23f248219cafe660Andreas Gustafsson>The used region is further subdivided into two disjoint regions: the
56e7dc0c24b04210dcbffb180a9e35644fb820daAutomatic UpdaterCLASS="EMPHASIS"
56e7dc0c24b04210dcbffb180a9e35644fb820daAutomatic Updater>consumed region</I
56e7dc0c24b04210dcbffb180a9e35644fb820daAutomatic UpdaterCLASS="EMPHASIS"
9e3a7b0faf417a10f5f689edf288807b2d5eedc5Brian Wellington>remaining region</I
59528addd704f8d5757b54e540520f74e588a7c7Automatic UpdaterThe union of these two regions is the used region.
c651f15b30f1dae5cc2f00878fb5da5b3a35a468Mark AndrewsThe consumed region extends from the beginning of the used region to
59528addd704f8d5757b54e540520f74e588a7c7Automatic Updaterthe byte before the <I
ce9cad6bb04869c5e94d9dc721032b25117f9210Automatic UpdaterCLASS="EMPHASIS"
4b2cb1422c7c600fbc13b1cb06a8b4693bc11af8Mark Andrews> offset (if any).
4b2cb1422c7c600fbc13b1cb06a8b4693bc11af8Mark AndrewsCLASS="EMPHASIS"
c651f15b30f1dae5cc2f00878fb5da5b3a35a468Mark Andrews>remaining</I
ce9cad6bb04869c5e94d9dc721032b25117f9210Automatic Updater> region the current pointer to the end of the used
f2770f6b39a9b2a98afb7a11ed105f73f1570c1eAutomatic UpdaterThe size of the consumed region can be changed using various
91216cff91b34c9ff6e846dc23f248219cafe660Andreas Gustafssonbuffer commands.
f2770f6b39a9b2a98afb7a11ed105f73f1570c1eAutomatic UpdaterInitially, the consumed region is empty.</P
ac4e70ff8955669341f435bc0a734a17c01af124Mark AndrewsCLASS="EMPHASIS"
9e3a7b0faf417a10f5f689edf288807b2d5eedc5Brian Wellington>active region</I
9e3a7b0faf417a10f5f689edf288807b2d5eedc5Brian Wellington> is an (optional) subregion of the remaining
9cd5eb6fe0f26d65724b99216cb31dcdd12e4afdAutomatic UpdaterIt extends from the current offset to an offset in the
ce9cad6bb04869c5e94d9dc721032b25117f9210Automatic Updaterremaining region.
ce9cad6bb04869c5e94d9dc721032b25117f9210Automatic UpdaterInitially, the active region is empty.
9cd5eb6fe0f26d65724b99216cb31dcdd12e4afdAutomatic UpdaterIf the current offset advances beyond the chosen offset,
ce9cad6bb04869c5e94d9dc721032b25117f9210Automatic Updaterthe active region will also be empty.</P
bc0a4c01beede169df81a3ee5b614ed9e82339dbAutomatic UpdaterCLASS="PROGRAMLISTING"
9cd5eb6fe0f26d65724b99216cb31dcdd12e4afdAutomatic Updater /------------entire length---------------\\
9e3a7b0faf417a10f5f689edf288807b2d5eedc5Brian Wellington /----- used region -----\\/-- available --\\
9e3a7b0faf417a10f5f689edf288807b2d5eedc5Brian Wellington +----------------------------------------+
9e3a7b0faf417a10f5f689edf288807b2d5eedc5Brian Wellington | consumed | remaining | |
9e3a7b0faf417a10f5f689edf288807b2d5eedc5Brian Wellington +----------------------------------------+
9e3a7b0faf417a10f5f689edf288807b2d5eedc5Brian Wellington a == base of buffer.
9e3a7b0faf417a10f5f689edf288807b2d5eedc5Brian Wellington b == current pointer. Can be anywhere between a and d.
9e3a7b0faf417a10f5f689edf288807b2d5eedc5Brian Wellington c == active pointer. Meaningful between b and d.
9e3a7b0faf417a10f5f689edf288807b2d5eedc5Brian Wellington d == used pointer.
9e3a7b0faf417a10f5f689edf288807b2d5eedc5Brian Wellington e == length of buffer.
9e3a7b0faf417a10f5f689edf288807b2d5eedc5Brian Wellington a-e == entire length of buffer.
9e3a7b0faf417a10f5f689edf288807b2d5eedc5Brian Wellington a-d == used region.
9e3a7b0faf417a10f5f689edf288807b2d5eedc5Brian Wellington a-b == consumed region.
9e3a7b0faf417a10f5f689edf288807b2d5eedc5Brian Wellington b-d == remaining region.
9e3a7b0faf417a10f5f689edf288807b2d5eedc5Brian Wellington b-c == optional active region.</PRE
9e3a7b0faf417a10f5f689edf288807b2d5eedc5Brian WellingtonCLASS="FUNCTION"
9e3a7b0faf417a10f5f689edf288807b2d5eedc5Brian Wellington>lwres_buffer_init()</TT
9e3a7b0faf417a10f5f689edf288807b2d5eedc5Brian Wellingtoninitializes the
9e3a7b0faf417a10f5f689edf288807b2d5eedc5Brian Wellington>lwres_buffer_t</SPAN
9e3a7b0faf417a10f5f689edf288807b2d5eedc5Brian WellingtonCLASS="PARAMETER"
9e3a7b0faf417a10f5f689edf288807b2d5eedc5Brian Wellingtonand assocates it with the memory region of size
9e3a7b0faf417a10f5f689edf288807b2d5eedc5Brian WellingtonCLASS="PARAMETER"
9e3a7b0faf417a10f5f689edf288807b2d5eedc5Brian Wellingtonbytes starting at location
9e3a7b0faf417a10f5f689edf288807b2d5eedc5Brian WellingtonCLASS="PARAMETER"
a26b22914b7bf25f065afb8cdef983766dcd672bAutomatic UpdaterCLASS="FUNCTION"
9cd5eb6fe0f26d65724b99216cb31dcdd12e4afdAutomatic Updater>lwres_buffer_invalidate()</TT
ae7e54b14c946e0984c191554db9abb4893f9349Automatic Updatermarks the buffer
ae7e54b14c946e0984c191554db9abb4893f9349Automatic UpdaterCLASS="PARAMETER"
ae7e54b14c946e0984c191554db9abb4893f9349Automatic Updateras invalid. Invalidating a buffer after use is not required,
ae7e54b14c946e0984c191554db9abb4893f9349Automatic Updaterbut makes it possible to catch its possible accidental use.</P
ae7e54b14c946e0984c191554db9abb4893f9349Automatic UpdaterCLASS="FUNCTION"
ae7e54b14c946e0984c191554db9abb4893f9349Automatic Updater>lwres_buffer_add()</TT
d4ef65050feac78554addf6e16a06c6e2e0bd331Brian WellingtonCLASS="FUNCTION"
d4ef65050feac78554addf6e16a06c6e2e0bd331Brian Wellington>lwres_buffer_subtract()</TT
aa1d397c4736cd86540555193d71e55fa3b37b2aMark Andrewsrespectively increase and decrease the used space in
d4ef65050feac78554addf6e16a06c6e2e0bd331Brian WellingtonCLASS="PARAMETER"
9e3a7b0faf417a10f5f689edf288807b2d5eedc5Brian WellingtonCLASS="PARAMETER"
ce9cad6bb04869c5e94d9dc721032b25117f9210Automatic UpdaterCLASS="FUNCTION"
ce9cad6bb04869c5e94d9dc721032b25117f9210Automatic Updater>lwres_buffer_add()</TT
ce9cad6bb04869c5e94d9dc721032b25117f9210Automatic Updaterchecks for buffer overflow and
ce9cad6bb04869c5e94d9dc721032b25117f9210Automatic UpdaterCLASS="FUNCTION"
ce9cad6bb04869c5e94d9dc721032b25117f9210Automatic Updater>lwres_buffer_subtract()</TT
ce9cad6bb04869c5e94d9dc721032b25117f9210Automatic Updaterchecks for underflow.
ce9cad6bb04869c5e94d9dc721032b25117f9210Automatic UpdaterThese functions do not allocate or deallocate memory.
ce9cad6bb04869c5e94d9dc721032b25117f9210Automatic UpdaterThey just change the value of
9cd5eb6fe0f26d65724b99216cb31dcdd12e4afdAutomatic UpdaterCLASS="STRUCTFIELD"
9e3a7b0faf417a10f5f689edf288807b2d5eedc5Brian Wellington>A buffer is re-initialised by
9e3a7b0faf417a10f5f689edf288807b2d5eedc5Brian WellingtonCLASS="FUNCTION"
9e3a7b0faf417a10f5f689edf288807b2d5eedc5Brian Wellington>lwres_buffer_clear()</TT
9e3a7b0faf417a10f5f689edf288807b2d5eedc5Brian WellingtonThe function sets
9e3a7b0faf417a10f5f689edf288807b2d5eedc5Brian WellingtonCLASS="STRUCTFIELD"
7adcb4de92bf4383a4c5624c4ed256736d02bc6dMark AndrewsCLASS="STRUCTFIELD"
9cd5eb6fe0f26d65724b99216cb31dcdd12e4afdAutomatic UpdaterCLASS="STRUCTFIELD"
7adcb4de92bf4383a4c5624c4ed256736d02bc6dMark AndrewsCLASS="FUNCTION"
7adcb4de92bf4383a4c5624c4ed256736d02bc6dMark Andrews>lwres_buffer_first</TT
9e3a7b0faf417a10f5f689edf288807b2d5eedc5Brian Wellingtonmakes the consumed region of buffer
9e3a7b0faf417a10f5f689edf288807b2d5eedc5Brian WellingtonCLASS="PARAMETER"
b7aab05edae933e169d5f83c653935b17c7f0a8bMark Andrewsempty by setting
9e3a7b0faf417a10f5f689edf288807b2d5eedc5Brian WellingtonCLASS="STRUCTFIELD"
9e3a7b0faf417a10f5f689edf288807b2d5eedc5Brian Wellingtonto zero (the start of the buffer).</P
9e3a7b0faf417a10f5f689edf288807b2d5eedc5Brian WellingtonCLASS="FUNCTION"
9e3a7b0faf417a10f5f689edf288807b2d5eedc5Brian Wellington>lwres_buffer_forward()</TT
9e3a7b0faf417a10f5f689edf288807b2d5eedc5Brian Wellingtonincreases the consumed region of buffer
9e3a7b0faf417a10f5f689edf288807b2d5eedc5Brian WellingtonCLASS="PARAMETER"
ce9cad6bb04869c5e94d9dc721032b25117f9210Automatic UpdaterCLASS="PARAMETER"
ce9cad6bb04869c5e94d9dc721032b25117f9210Automatic Updaterbytes, checking for overflow.
ce9cad6bb04869c5e94d9dc721032b25117f9210Automatic UpdaterCLASS="FUNCTION"
9cd5eb6fe0f26d65724b99216cb31dcdd12e4afdAutomatic Updater>lwres_buffer_back()</TT
ce9cad6bb04869c5e94d9dc721032b25117f9210Automatic Updaterdecreases buffer
9e3a7b0faf417a10f5f689edf288807b2d5eedc5Brian WellingtonCLASS="PARAMETER"
7adcb4de92bf4383a4c5624c4ed256736d02bc6dMark Andrewsconsumed region by
7adcb4de92bf4383a4c5624c4ed256736d02bc6dMark AndrewsCLASS="PARAMETER"
9e3a7b0faf417a10f5f689edf288807b2d5eedc5Brian Wellingtonbytes and checks for underflow.</P
9e3a7b0faf417a10f5f689edf288807b2d5eedc5Brian WellingtonCLASS="FUNCTION"
9e3a7b0faf417a10f5f689edf288807b2d5eedc5Brian Wellington>lwres_buffer_getuint8()</TT
9e3a7b0faf417a10f5f689edf288807b2d5eedc5Brian Wellingtonreads an unsigned 8-bit integer from
9e3a7b0faf417a10f5f689edf288807b2d5eedc5Brian WellingtonCLASS="PARAMETER"
9cd5eb6fe0f26d65724b99216cb31dcdd12e4afdAutomatic Updaterand returns it.
ce9cad6bb04869c5e94d9dc721032b25117f9210Automatic UpdaterCLASS="FUNCTION"
ce9cad6bb04869c5e94d9dc721032b25117f9210Automatic Updater>lwres_buffer_putuint8()</TT
ce9cad6bb04869c5e94d9dc721032b25117f9210Automatic Updaterwrites the unsigned 8-bit integer
ce9cad6bb04869c5e94d9dc721032b25117f9210Automatic UpdaterCLASS="PARAMETER"
9e3a7b0faf417a10f5f689edf288807b2d5eedc5Brian WellingtonCLASS="PARAMETER"
532d27b39244fadfcf8d8b4593f4c65434c9c664Automatic UpdaterCLASS="FUNCTION"
532d27b39244fadfcf8d8b4593f4c65434c9c664Automatic Updater>lwres_buffer_getuint16()</TT
d4ef65050feac78554addf6e16a06c6e2e0bd331Brian WellingtonCLASS="FUNCTION"
d4ef65050feac78554addf6e16a06c6e2e0bd331Brian Wellington>lwres_buffer_getuint32()</TT
ce9cad6bb04869c5e94d9dc721032b25117f9210Automatic Updaterare identical to
ce9cad6bb04869c5e94d9dc721032b25117f9210Automatic UpdaterCLASS="FUNCTION"
ce9cad6bb04869c5e94d9dc721032b25117f9210Automatic Updater>lwres_buffer_putuint8()</TT
ce9cad6bb04869c5e94d9dc721032b25117f9210Automatic Updaterexcept that they respectively read an unsigned 16-bit or 32-bit integer
ce9cad6bb04869c5e94d9dc721032b25117f9210Automatic Updaterin network byte order from
ce9cad6bb04869c5e94d9dc721032b25117f9210Automatic UpdaterCLASS="PARAMETER"
ce9cad6bb04869c5e94d9dc721032b25117f9210Automatic UpdaterCLASS="FUNCTION"
fd7c65dce9c2b1a3d12ca4df9074cd38019fdb5fAutomatic Updater>lwres_buffer_putuint16()</TT
ce9cad6bb04869c5e94d9dc721032b25117f9210Automatic UpdaterCLASS="FUNCTION"
ce9cad6bb04869c5e94d9dc721032b25117f9210Automatic Updater>lwres_buffer_putuint32()</TT
ce9cad6bb04869c5e94d9dc721032b25117f9210Automatic Updaterwrites the unsigned 16-bit or 32-bit integer
ce9cad6bb04869c5e94d9dc721032b25117f9210Automatic UpdaterCLASS="PARAMETER"
ce9cad6bb04869c5e94d9dc721032b25117f9210Automatic UpdaterCLASS="PARAMETER"
ce9cad6bb04869c5e94d9dc721032b25117f9210Automatic Updaterin network byte order.</P
ce9cad6bb04869c5e94d9dc721032b25117f9210Automatic Updater>Arbitrary amounts of data are read or written from a lightweight
ce9cad6bb04869c5e94d9dc721032b25117f9210Automatic Updaterresolver buffer with
ce9cad6bb04869c5e94d9dc721032b25117f9210Automatic UpdaterCLASS="FUNCTION"
ce9cad6bb04869c5e94d9dc721032b25117f9210Automatic Updater>lwres_buffer_getmem()</TT
ce9cad6bb04869c5e94d9dc721032b25117f9210Automatic UpdaterCLASS="FUNCTION"
ce9cad6bb04869c5e94d9dc721032b25117f9210Automatic Updater>lwres_buffer_putmem()</TT
ce9cad6bb04869c5e94d9dc721032b25117f9210Automatic UpdaterCLASS="FUNCTION"
ce9cad6bb04869c5e94d9dc721032b25117f9210Automatic Updater>lwres_buffer_putmem()</TT
ce9cad6bb04869c5e94d9dc721032b25117f9210Automatic UpdaterCLASS="PARAMETER"
ce9cad6bb04869c5e94d9dc721032b25117f9210Automatic Updaterbytes of memory at
ce9cad6bb04869c5e94d9dc721032b25117f9210Automatic UpdaterCLASS="PARAMETER"
ce9cad6bb04869c5e94d9dc721032b25117f9210Automatic UpdaterCLASS="PARAMETER"
9e3a7b0faf417a10f5f689edf288807b2d5eedc5Brian WellingtonCLASS="FUNCTION"
ce9cad6bb04869c5e94d9dc721032b25117f9210Automatic Updater>lwres_buffer_getmem()</TT
7af91d15b2ce1ce32f7320f6d5cc3b83621c241aAutomatic UpdaterCLASS="PARAMETER"
7af91d15b2ce1ce32f7320f6d5cc3b83621c241aAutomatic Updaterbytes of memory from
7af91d15b2ce1ce32f7320f6d5cc3b83621c241aAutomatic UpdaterCLASS="PARAMETER"
7af91d15b2ce1ce32f7320f6d5cc3b83621c241aAutomatic UpdaterCLASS="PARAMETER"