| 123456789101112131415161718192021222324252627282930313233 |
- // DBInterface.h: interface for the DBInterface class.
- //
- //////////////////////////////////////////////////////////////////////
- #if !defined(AFX_DBINTERFACE_H__E761F9FE_39EE_40A2_88D1_7FCBB97A145A__INCLUDED_)
- #define AFX_DBINTERFACE_H__E761F9FE_39EE_40A2_88D1_7FCBB97A145A__INCLUDED_
- #if _MSC_VER > 1000
- #pragma once
- #endif // _MSC_VER > 1000
- #include "DBDefine.h"
- #include "DBConnPool.h"
- #if defined(__cplusplus)
- extern "C"
- {
- #endif
-
- // Initialize RS Receiver
- RFIDAPI DWORD InItDBConnPool(LPCSTR strDstAddress, LPCSTR strUsername, LPCSTR strPassword, LPCSTR strDBName,int minConn,int maxConn);
- //数据库对外接口,和自己具体的数据库字段相关,这是对外使用的接口,自己可以添加
- //此接口实际调用的是连接池内部实现的接口,
- RFIDAPI void GetSubmitInfo(vector<SOAP_SUBMIT_SMS> &vecsoapSms);
- RFIDAPI void InsertHistory(int id);
-
- // Initialize Sock Receiver
-
- #if defined(__cplusplus)
- }
- #endif
- #endif // !defined(AFX_DBINTERFACE_H__E761F9FE_39EE_40A2_88D1_7FCBB97A145A__INCLUDED_)
|