summaryrefslogtreecommitdiffhomepage
path: root/libs/nixio/src/nixio.h
diff options
context:
space:
mode:
authorJo-Philipp Wich <jow@openwrt.org>2010-03-27 19:16:54 +0000
committerJo-Philipp Wich <jow@openwrt.org>2010-03-27 19:16:54 +0000
commitc0d0953bd7ad56837cb679b11ce200b63c664a4a (patch)
tree78047ad510e9f30e517cbde72edb5a9d04459fec /libs/nixio/src/nixio.h
parent6003886675069a36b0be692ea657d442b08e266e (diff)
libs/nixio: make TLS support optional
Diffstat (limited to 'libs/nixio/src/nixio.h')
-rw-r--r--libs/nixio/src/nixio.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/libs/nixio/src/nixio.h b/libs/nixio/src/nixio.h
index ff75cfd98..2be197f13 100644
--- a/libs/nixio/src/nixio.h
+++ b/libs/nixio/src/nixio.h
@@ -120,9 +120,12 @@ void nixio_open_bit(lua_State *L);
void nixio_open_bin(lua_State *L);
void nixio_open_fs(lua_State *L);
void nixio_open_user(lua_State *L);
+
+#ifndef NO_TLS
void nixio_open_tls_crypto(lua_State *L);
void nixio_open_tls_context(lua_State *L);
void nixio_open_tls_socket(lua_State *L);
+#endif
/* Method functions */