#include <errno.h>
#include <stdio.h>
#include <stdlib.h>
#include <unistd.h>
#include <libdrizzle/drizzle_server.h>
Go to the source code of this file.
Defines | |
#define | DRIZZLE_FIELD_MAX 32 |
#define | DRIZZLE_RESULT_ROWS 20 |
#define | DRIZZLE_RETURN_CHECK(__ret, __function, __drizzle) |
#define | DRIZZLE_RETURN_ERROR(__function, __drizzle) |
Functions | |
static void | server (drizzle_st *drizzle, drizzle_con_st *con, drizzle_result_st *result, drizzle_column_st *column) |
int | main (int argc, char *argv[]) |
#define DRIZZLE_FIELD_MAX 32 |
#define DRIZZLE_RESULT_ROWS 20 |
#define DRIZZLE_RETURN_CHECK | ( | __ret, | |
__function, | |||
__drizzle | |||
) |
{ \ if ((__ret) != DRIZZLE_RETURN_OK) \ DRIZZLE_RETURN_ERROR(__function, __drizzle) \ }
#define DRIZZLE_RETURN_ERROR | ( | __function, | |
__drizzle | |||
) |
{ \ printf(__function ":%s\n", drizzle_error(__drizzle)); \ return; \ }
static void server | ( | drizzle_st * | drizzle, |
drizzle_con_st * | con, | ||
drizzle_result_st * | result, | ||
drizzle_column_st * | column | ||
) | [static] |