CVSROOT: /cvs
Module name: src
Changes by: [email protected] 2010/12/01 05:01:25
Modified files:
sbin/iked : iked.h ikev2.c util.c
Log message:
Clarify the internal ibuf API: rename ibuf_copy() to ibuf_get() because
it returns a new buffer from the internal read offset like stdio get
functions do and not the same buffer when it is called multiple times.
Also rename the old ibuf_get() to ibuf_getdata() because it returns
a "special" data type and it matches the stdio get* conventions.
pointed out by mikeb@