pointcloud/libpc/cunit/cu_tester.h
Paul Ramsey cec591ce2e Start on WKB support and necessary
infrastructure to do PCPOINT in the database
2013-01-18 12:02:54 -08:00

23 lines
640 B
C

/***********************************************************************
* cu_tester.h
*
* Testing harness for PgSQL PointClouds header
*
* Portions Copyright (c) 2012, OpenGeo
*
***********************************************************************/
#include "pc_api_internal.h"
#define PG_TEST(test_func) { #test_func, test_func }
#define MAX_CUNIT_MSG_LENGTH 512
/* Contains the most recent error message generated by rterror. */
char cu_error_msg[MAX_CUNIT_MSG_LENGTH+1];
/* Read a file (XML) into a cstring */
char* file_to_str(const char *fname);
/* Resets cu_error_msg back to blank. */
//void cu_error_msg_reset(void);