GRASS Programmer's Manual  6.5.svn(2014)-r66266
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
xdrhandle.c
Go to the documentation of this file.
1 #include <grass/dbmi.h>
2 #include "macros.h"
3 
4 
5 int db__send_handle(dbHandle * handle)
6 {
7  DB_SEND_STRING(&handle->dbName);
8  DB_SEND_STRING(&handle->dbSchema);
9 
10  return DB_OK;
11 }
12 
13 int db__recv_handle(dbHandle * handle)
14 {
15  DB_RECV_STRING(&handle->dbName);
16  DB_RECV_STRING(&handle->dbSchema);
17 
18  return DB_OK;
19 }
int db__recv_handle(dbHandle *handle)
Definition: xdrhandle.c:13
int db__send_handle(dbHandle *handle)
Definition: xdrhandle.c:5
#define DB_SEND_STRING(x)
Definition: macros.h:12
#define DB_RECV_STRING(x)
Definition: macros.h:18