/*
 * oclh_h_wrkset_log.h
 *      Author: havock
 */
#ifndef OCLH_H_WS_LOG_H_
#define OCLH_H_WS_LOG_H_ 1
#include <stdint.h>
#include <oclh_h_ws_base.h>

int32_t __ghf_logWS_MsgIgnoringLock(
                           const _GHT_WRKSET wSet, const char* const pcLogMsg);
int32_t _ghf_logWS_Msg(    const _GHT_WRKSET wSet, const char* const pcLogMsg);
int32_t _ghf_logWS_Hdr(    const _GHT_WRKSET wSet, const char* const pcLogHdr);
int32_t _ghf_logWS_Delim(  const _GHT_WRKSET wSet);
int32_t _ghf_logWS_Raw(    const _GHT_WRKSET wSet, const char* const pcLogMsg);
int32_t _ghf_logWS_APIErr( const _GHT_WRKSET wSet, const char* const pcAPICall);
int32_t _ghf_logWS_UsedMem(const _GHT_WRKSET wSet);

int32_t _ghf_logWS_DevInf_bool(  _GHT_WRKSET    wSet,
                           const cl_device_id   clDev,
                           const cl_device_info InfoVal,
                           const char*    const pcPrefix,
                           const char*    const pcName,
                           const char*    const pcTrue,
                           const char*    const pcFalse);
int32_t _ghf_logWS_DevInf_charptr(_GHT_WRKSET   wSet,
                           const cl_device_id   clDev,
                           const cl_device_info InfoVal,
                           const char*    const pcPrefix,
                           const char*    const pcName,
                           const char*    const pcPostfix);
int32_t _ghf_logWS_DevInf_cluint(_GHT_WRKSET    wSet,
                           const cl_device_id   clDev,
                           const cl_device_info InfoVal,
                           const char*    const pcPrefix,
                           const char*    const pcName,
                           const char*    const pcPostfix);
int32_t _ghf_logWS_DevInf_clulong(_GHT_WRKSET   wSet,
                           const cl_device_id   clDev,
                           const cl_device_info InfoVal,
                           const char*    const pcDevPrefix,
                           const char*    const pcName,
                           const char*    const pcPostfix);
int32_t _ghf_logWS_DevInf_clulong_as_hex(_GHT_WRKSET wSet,
                           const cl_device_id   clDev,
                           const cl_device_info InfoVal,
                           const char*    const pcPrefix,
                           const char*    const pcName,
                           const char*    const pcPostfix);
int32_t _ghf_logWS_DevInf_size(  _GHT_WRKSET    wSet,
                           const cl_device_id   clDev,
                           const cl_device_info InfoVal,
                           const char*    const pcDevPrefix,
                           const char*    const pcName,
                           const char*    const pcPostfix);
#endif /* OCLH_H_WS_LOG_H_ */
