Server 0.0.1
HTTP/REST server implementation

src/cbuf/addr_index.c

Go to the documentation of this file.
00001 
00023 #include <sys/types.h>
00024 
00025 #include "cbuf.h"
00026 
00027 size_t
00028 cbufAddrIndex(Cbuf this, const void * c)
00029 {
00030         return c - (const void *)cbufGetRead(this);
00031 }
00032 
00033 // vim: set ts=4 sw=4:
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Defines