dbwrapper.c

来自「bonddb 是一个源于PostgreSQL封装包的对象。它是一个由C/C++编」· C语言 代码 · 共 25 行

C
25
字号
#include <stdio.h>#include <glib.h>#include "dbwrapper.h"#include "debug.h"/* Global pointer of current connection to the database */DbConnection *globaldbconn;/** * db_dbgetserver: * * Inform you of what type of database server your connected to. */gintdb_dbgetserver()   {   if (globaldbconn == NULL)      {      errormsg("globaldbconn is null, initilise database first");      return -1;      }   return globaldbconn->dbserver;   }

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?