add.c 226 Bytes Raw Blame History Permalink 1 2 3 4 5 6 7 8 9 10 11 #include "logger.h" void logger_add(LOGGER this, logger_logfnct logfunc) { if (this->logfncts_count < MAX_LOG_FNCTS) { this->logfncts[this->logfncts_count] = logfunc; this->logfncts_count++; } } // vim: set ts=4 sw=4: