size_get.c 223 Bytes Raw Blame History Permalink 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 #include <sys/types.h> #include "http/header.h" size_t httpHeaderSizeGet(HttpHeader header) { size_t size = 0; size += strlen(header->name) + 2; size += strlen(header->value); return size; } // vim: set ts=4 sw=4: