ofpbuf: New function ofpbuf_use_stack().
authorBen Pfaff <blp@nicira.com>
Thu, 23 Dec 2010 22:23:41 +0000 (14:23 -0800)
committerBen Pfaff <blp@nicira.com>
Thu, 27 Jan 2011 17:26:05 +0000 (09:26 -0800)
commit31ac1e590b9bb2a2ce7c70cd7c8fd2db0fb8e481
tree1ec3f44423a04253387531336a2fda84377d84bc
parentf0d3bc86154e697f4dc03667950319db66517522
ofpbuf: New function ofpbuf_use_stack().

This new function is useful in a situation where a small stack-allocated
buffer is usually appropriate but occasionally it must be expanded.

Acked-by: Jesse Gross <jesse@nicira.com>
lib/ofpbuf.c
lib/ofpbuf.h