#include #include #include "macros.h" #include "dbstubs.h" /*! \fn \brief \return \param */ int db_d_delete_database() { dbHandle handle; int stat; /* get the arg(s) */ db_init_handle (&handle); DB_RECV_HANDLE(&handle); /* call the procedure */ stat = db_driver_delete_database (&handle); db_free_handle (&handle); /* send the return code */ if (stat != DB_OK) { DB_SEND_FAILURE(); return DB_OK; } DB_SEND_SUCCESS(); /* no results */ return DB_OK; }