]> git.evergreen-ils.org Git - OpenSRF.git/commit
Add a new function buffer_add_n(), and the corresponding
authorscottmk <scottmk@9efc2488-bf62-4759-914b-345cdb29e865>
Mon, 5 Jan 2009 14:27:39 +0000 (14:27 +0000)
committerscottmk <scottmk@9efc2488-bf62-4759-914b-345cdb29e865>
Mon, 5 Jan 2009 14:27:39 +0000 (14:27 +0000)
commit01df3f9bd9a1b0ebc046871d732c5c8b4a786f73
tree68949c5f0c544fa50f7e00e9395fc83338b815fd
parentb616d6bcb7cd7df7f5fe4f5b13c79ffea660679c
Add a new function buffer_add_n(), and the corresponding
function-like macro OSRF_BUFFER_ADD_N.

These facilities append a specified number of characters from
an input string to a growing_buffer.  They are intended for
situations where the length of the input string is already known,
or where the input string is not nul-terminated in the right
place.

git-svn-id: svn://svn.open-ils.org/OpenSRF/trunk@1568 9efc2488-bf62-4759-914b-345cdb29e865
include/opensrf/utils.h
src/libopensrf/utils.c