00001 00015 #include <grass/dbmi.h> 00016 #include "macros.h" 00017 00024 int db_d_version(void) 00025 { 00026 /* no arg(s) */ 00027 00028 /* send the return code */ 00029 DB_SEND_SUCCESS(); 00030 00031 /* send version */ 00032 DB_SEND_C_STRING(DB_VERSION); 00033 return DB_OK; 00034 }