NCBI C++ ToolKit
Macros | Functions | Variables
row_count.c File Reference
#include <config.h>
#include <stdio.h>
#include <ctpublic.h>
#include "common.h"
#include "replacements.h"
#include <common/test_assert.h>
+ Include dependency graph for row_count.c:

Go to the source code of this file.

Go to the SVN repository for this file.

Macros

#define strcat(s, k)
 

Functions

static CS_RETCODE ex_clientmsg_cb (CS_CONTEXT *context, CS_CONNECTION *connection, CS_CLIENTMSG *errmsg)
 
static CS_RETCODE ex_servermsg_cb (CS_CONTEXT *context, CS_CONNECTION *connection, CS_SERVERMSG *errmsg)
 
static CS_INT ex_display_results (CS_COMMAND *cmd, char *results)
 
static int test (int final_rows, int no_rows)
 
int main (int argc, char *argv[])
 

Variables

static CS_CONTEXTctx
 
static CS_CONNECTIONconn
 
static CS_COMMANDcmd
 

Macro Definition Documentation

◆ strcat

#define strcat (   s,
 
)
Value:
do { \
memcpy(s##_end, k, sizeof(k)); \
s##_end += sizeof(k) - 1; \
} while (0)

Function Documentation

◆ ex_clientmsg_cb()

static CS_RETCODE ex_clientmsg_cb ( CS_CONTEXT context,
CS_CONNECTION connection,
CS_CLIENTMSG errmsg 
)
static

◆ ex_display_results()

static CS_INT ex_display_results ( CS_COMMAND cmd,
char *  results 
)
static

◆ ex_servermsg_cb()

static CS_RETCODE ex_servermsg_cb ( CS_CONTEXT context,
CS_CONNECTION connection,
CS_SERVERMSG errmsg 
)
static

◆ main()

int main ( int  argc,
char *  argv[] 
)

◆ test()

static int test ( int  final_rows,
int  no_rows 
)
static

Variable Documentation

◆ cmd

CS_COMMAND* cmd
static

Definition at line 76 of file row_count.c.

Referenced by ex_display_results(), main(), and test().

◆ conn

CS_CONNECTION* conn
static

Definition at line 75 of file row_count.c.

Referenced by main().

◆ ctx

CS_CONTEXT* ctx
static

Definition at line 74 of file row_count.c.

Referenced by main().

Modified on Wed May 22 11:30:45 2024 by modify_doxy.py rev. 669887