![]() |
botsense
3.2.0
RoadNarrows Client-Server Proxied Services Framework
|
BotSense bsProxy utilities. More...
#include <stdio.h>#include <stdlib.h>#include <string.h>#include <errno.h>#include <pthread.h>#include "rnr/rnrconfig.h"#include "rnr/log.h"#include "rnr/netmsgs.h"#include "botsense/BotSense.h"#include "botsense/bsProxyMsgs.h"#include "bsProxy.h"Go to the source code of this file.
Functions | |
| uint_t | timer_elapsed (struct timeval *pTvMark) |
| Calculate the elapsed time between the given time mark and this call. More... | |
| void | BsProxyLogMsgHdr (const char *sPreface, BsProxyMsgHdr_T *pMsgHdr) |
| Log message header. More... | |
BotSense bsProxy utilities.
Definition in file bsProxyUtils.c.
| void BsProxyLogMsgHdr | ( | const char * | sPreface, |
| BsProxyMsgHdr_T * | pMsgHdr | ||
| ) |
Log message header.
| sPreface | Preface string. |
| pMsgHdr | Pointer to message header structure. |
Definition at line 108 of file bsProxyUtils.c.
References BSPROXY_VCONN_SERVER, BsProxyLookupMsgDef(), BsProxyMsgHdr_T::m_hdrBodyLen, BsProxyMsgHdr_T::m_hdrMagic, BsProxyMsgHdr_T::m_hdrMsgId, BsProxyMsgHdr_T::m_hdrTid, and BsProxyMsgHdr_T::m_hdrVConn.
Referenced by ClientSetTraceState().
| uint_t timer_elapsed | ( | struct timeval * | pTvMark | ) |
Calculate the elapsed time between the given time mark and this call.
| pTvMark | Pointer to timeval holding time mark. |
Definition at line 79 of file bsProxyUtils.c.
References timer_mark().
Referenced by timer_mark().