00001 #include <grass/dbmi.h> 00002 #include "macros.h" 00003 00010 int 00011 db_d_version() 00012 { 00013 /* no arg(s) */ 00014 00015 /* send the return code */ 00016 DB_SEND_SUCCESS(); 00017 00018 /* send version */ 00019 DB_SEND_C_STRING (DB_VERSION); 00020 return DB_OK; 00021 }