xdrhandle.c 323 B

1234567891011121314151617181920
  1. #include <grass/dbmi.h>
  2. #include "macros.h"
  3. int db__send_handle(dbHandle * handle)
  4. {
  5. DB_SEND_STRING(&handle->dbName);
  6. DB_SEND_STRING(&handle->dbSchema);
  7. return DB_OK;
  8. }
  9. int db__recv_handle(dbHandle * handle)
  10. {
  11. DB_RECV_STRING(&handle->dbName);
  12. DB_RECV_STRING(&handle->dbSchema);
  13. return DB_OK;
  14. }