Kodi Documentation 22.0
Kodi is an open source media player and entertainment hub.
Loading...
Searching...
No Matches
dataset.h File Reference
#include "qry_dat.h"
#include <cstdio>
#include <list>
#include <map>
#include <stdarg.h>
#include <string>
#include <unordered_map>

Classes

class  dbiplus::Database
 
class  dbiplus::Dataset
 
class  dbiplus::DbErrors
 

Namespaces

namespace  dbiplus
 

Macros

#define S_NO_CONNECTION   "No active connection";
 
#define DB_BUFF_MAX   8 * 1024
 
#define DB_CONNECTION_NONE   0
 
#define DB_CONNECTION_OK   1
 
#define DB_CONNECTION_BAD   2
 
#define DB_COMMAND_OK   0
 
#define DB_EMPTY_QUERY   1
 
#define DB_TUPLES_OK   2
 
#define DB_ERROR   5
 
#define DB_BAD_RESPONSE   6
 
#define DB_UNEXPECTED   7
 
#define DB_UNEXPECTED_RESULT   -1
 

Typedefs

typedef std::list< std::string > dbiplus::StringList
 
typedef std::map< std::string, field_valuedbiplus::ParamList
 

Enumerations

enum  dbiplus::dsStates {
  dbiplus::dsSelect , dbiplus::dsInsert , dbiplus::dsEdit , dbiplus::dsUpdate ,
  dbiplus::dsDelete , dbiplus::dsInactive
}
 
enum  dbiplus::sqlType {
  dbiplus::sqlSelect , dbiplus::sqlUpdate , dbiplus::sqlInsert , dbiplus::sqlDelete ,
  dbiplus::sqlExec
}
 

Macro Definition Documentation

◆ DB_BAD_RESPONSE

#define DB_BAD_RESPONSE   6

◆ DB_BUFF_MAX

#define DB_BUFF_MAX   8 * 1024

◆ DB_COMMAND_OK

#define DB_COMMAND_OK   0

◆ DB_CONNECTION_BAD

#define DB_CONNECTION_BAD   2

◆ DB_CONNECTION_NONE

#define DB_CONNECTION_NONE   0

◆ DB_CONNECTION_OK

#define DB_CONNECTION_OK   1

◆ DB_EMPTY_QUERY

#define DB_EMPTY_QUERY   1

◆ DB_ERROR

#define DB_ERROR   5

◆ DB_TUPLES_OK

#define DB_TUPLES_OK   2

◆ DB_UNEXPECTED

#define DB_UNEXPECTED   7

◆ DB_UNEXPECTED_RESULT

#define DB_UNEXPECTED_RESULT   -1

◆ S_NO_CONNECTION

#define S_NO_CONNECTION   "No active connection";