#ifndef __LOG_H #define __LOG_H enum loglevel { LOG_NONE, LOG_INFO, LOG_DEBUG }; void logmsg(enum loglevel level, const char *format,...); #endif