--- /dev/null
+// vim: smarttab tabstop=8 shiftwidth=2 expandtab
+/********************************************************/
+/* */
+/* Low level subroutine implementation */
+/* to handle SQL request */
+/* */
+/********************************************************/
+#include "devsql.h"
+
+/*
+\f
+*/
+/********************************************************/
+/* */
+/* */
+/********************************************************/
--- /dev/null
+// vim: smarttab tabstop=8 shiftwidth=2 expandtab
+/********************************************************/
+/* */
+/* Low level subroutine declaration */
+/* to handle SQL resquest. */
+/* */
+/********************************************************/
+#ifndef DEVSQL
+#define DEVSQL
+
+//reference to a SQL pointer reference
+typedef void SQLPTR;
+
+//to connect a remote SQL server
+extern SQLPTR *soql_opensql();
+
+//procedure to close an previously opened SQL channel
+extern SQLPTR *soc_closesql(SOCPTR *socptr);
+
+#endif
#ifndef LVLEML
#define LVLEML
+#include "devsoc.h"
+#include "devsql.h"
#include "gestcp.h"
typedef struct {
- SOCPTR *socptr; //established contact context
- //_Bool tlsok; //link is in crypted mode
+ SOCPTR *socptr; //established contact socket context
+ SQLPTR *sqlptr; //established contact database access
char *fqdn; //fully qualified domain from peer
char *locname; //socket local hostname
char *locserv; //local service port