src/lib/misc.h
author Tero Marttila <terom@fixme.fi>
Sat, 11 Oct 2008 20:45:28 +0300
changeset 18 b12e78767248
parent 6 d2036d7799fd
child 24 82cfdb6680d1
permissions -rw-r--r--
url_test is starting to be properly functional
#ifndef LIB_UTIL_H
#define LIB_UTIL_H

/*
 * Initialize the given *value* with zeros
 */
#define ZINIT(obj) memset(&(obj), 0, sizeof((obj)))

#endif /* LIB_UTIL_H */