added thanks to MD - cleaned up main a bit

This commit is contained in:
ganome 2025-01-31 10:26:06 -07:00
parent b4f8432c4c
commit 77ef0710c2
Signed by untrusted user who does not match committer: Ganome
GPG Key ID: 944DE53336D81B83

View File

@ -1,15 +1,14 @@
#include <iostream>
#include <stdio.h>
#include <string>
#include <sqlite/command.hpp>
#include <sqlite/result.hpp>
#include <string>
// #include "lists/hardware.h"
// #include "lists/cpu.h"
// #include "include/setcpu.h"
// #include "include/sethardware.h"
#include <sqlite3.h>
// Begin testing of SQLite3
/*
* Implementing SQLite3 on suggestion from MD.rpm - Thanks MD!
*
*/
//Declare all the functions
static int createDB(const char* s);
static int searchTable(const char* s, std::string msearch);
static int callback(void* NotUsed, int argc, char** argv, char** azColName);