xdrhandle.c

Go to the documentation of this file.
00001 #include <grass/dbmi.h>
00002 #include "macros.h"
00003 
00004 
00005 int db__send_handle(dbHandle * handle)
00006 {
00007     DB_SEND_STRING(&handle->dbName);
00008     DB_SEND_STRING(&handle->dbSchema);
00009 
00010     return DB_OK;
00011 }
00012 
00013 int db__recv_handle(dbHandle * handle)
00014 {
00015     DB_RECV_STRING(&handle->dbName);
00016     DB_RECV_STRING(&handle->dbSchema);
00017 
00018     return DB_OK;
00019 }