NCBI C++ ToolKit
|
#include <config.h>
#include <stdio.h>
#include <ctpublic.h>
#include "common.h"
#include "replacements.h"
#include <common/test_assert.h>
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_CONTEXT * | ctx |
static CS_CONNECTION * | conn |
static CS_COMMAND * | cmd |
#define strcat | ( | s, | |
k | |||
) |
|
static |
Definition at line 357 of file row_count.c.
References CS_LAYER, CS_NUMBER, CS_ORIGIN, CS_SEVERITY, CS_SUCCEED, _cs_clientmsg::msgnumber, _cs_clientmsg::msgstring, _cs_clientmsg::osstring, and _cs_clientmsg::osstringlen.
Referenced by main().
|
static |
Definition at line 196 of file row_count.c.
References assert, cmd, CS_CMD_DONE, CS_CMD_FAIL, CS_CMD_SUCCEED, CS_END_DATA, CS_END_RESULTS, CS_FAIL, CS_MSG_RESULT, CS_MSGTYPE, CS_NUMDATA, CS_PARAM_RESULT, CS_ROW_COUNT, CS_ROW_FAIL, CS_ROW_RESULT, CS_STATUS_RESULT, CS_SUCCEED, CS_UNUSED, ct_fetch(), ct_res_info(), ct_results(), exit(), NULL, res_type_str(), results, and util::strcmp().
Referenced by test().
|
static |
Definition at line 372 of file row_count.c.
References CS_SUCCEED, _cs_servermsg::line, _cs_servermsg::msgnumber, _cs_servermsg::proc, _cs_servermsg::proclen, _cs_servermsg::severity, _cs_servermsg::state, _cs_servermsg::svrname, _cs_servermsg::svrnlen, and _cs_servermsg::text.
Referenced by main().
Definition at line 85 of file row_count.c.
References cmd, conn, CS_CLIENTMSG_CB, CS_SERVERMSG_CB, CS_SET, CS_SUCCEED, ct_callback(), ctx, ex_clientmsg_cb(), ex_servermsg_cb(), NULL, run_command(), test(), try_ctlogin(), and try_ctlogout().
Definition at line 121 of file row_count.c.
References cmd, CS_NO_RECOMPILE, CS_NULLTERM, CS_RPC_CMD, CS_SUCCEED, ct_command(), ct_send(), ex_display_results(), results, run_command(), and strcat.
Referenced by main().
|
static |
Definition at line 76 of file row_count.c.
Referenced by ex_display_results(), main(), and test().
|
static |
Definition at line 75 of file row_count.c.
Referenced by main().
|
static |
Definition at line 74 of file row_count.c.
Referenced by main().