Home | History | Annotate | Download | only in include

Lines Matching refs:function

77    * Flushes internal buffer.  This function can be left unimplemented if no
87 * Destroys the logger. This function is responsible to deallocate any
122 * Initializes the LOG library. This function must be called before any
123 * logging can take place. PtrdInit() must be called before this function on
154 * Shutdowns the LOG library. Once this function is called, no logging
164 * Sets the format of the logging messages. If this function is never called,
180 * the function returns ESR_INVALID_ARGUMENT.
253 * Runs a function, checks its return-code. In case of an error, logs it and jumps to
257 #define CHKLOG(rc, function) do { rc = (function); if (rc != ESR_SUCCESS) { PLogError("%s in %s:%d", ESR_rc2str(rc), __FILE__, __LINE__); goto CLEANUP; } } while (0)
259 * Invokes the function with args and if it is not ESR_SUCCESS, logs and
262 * @param rc Used to store the function return value
263 * @param function Function name
264 * @param args Function arguments
266 #define PLOG_CHKRC_ARGS(rc, function, args) do { if((rc = (function args)) != ESR_SUCCESS) { PLogError(ESR_rc2str(rc)); return rc; } } while (0)
269 * Checks the function return-code and if it is not ESR_SUCCESS, logs and
272 #define PLOG_CHKRC(rc, function) do { rc = (function); if (rc != ESR_SUCCESS) { PLogError(rc); return rc; } } while (0)