Introduction

SQCloud is the C application programmer’s interface to SQLite Cloud. SQCloud is a set of library functions that allow client programs to pass queries and SQL commands to the SQLite Cloud backend server and to receive the results of these queries. In addition to the standard SQLite statements, several other commands are supported.

The following files are required when compiling a C application:

  • sqcloud.c/.h
  • lz4.c/.h
  • libtls.a (for static linking) or libtls.so/.dylib/.dll (for dynamic linking)

The header file sqcloud.h must be included in your C application.

All the communications between the client and the server are encrypted and so, you are required to link the LibreSSL (libtls) library with your client. More information about LibreSSL and how to compile it can be found in the official LibreSSL website.

The SQCloud APIs implement the SQLiteCloud Serialization Protocol.