+ * Option | Description |
+ * -listen | Listen for incoming connections. |
+ * -listennofork | Listen for incoming connections without forking.
+ * |
+ * -play | Set this client to replay a previously recorded session. |
+ * -encodings | Set the encodings to use. The next item in the
+ * argv array is the encodings string, consisting of comma separated encodings like 'tight,ultra,raw'. |
+ * -compress | Set the compression level. The next item in the
+ * argv array is the compression level as an integer. Ranges from 0 (lowest) to 9 (highest).
+ * |
+ * -scale | Set the scaling level. The next item in the
+ * argv array is the scaling level as an integer. The screen will be scaled down by this factor. |
+ * -qosdscp | Set the Quality of Service Differentiated Services
+ * Code Point (QoS DSCP). The next item in the argv array is the code point as
+ * an integer. |
+ * -repeaterdest | Set a VNC repeater address. The next item in the argv array is
+ * the repeater's address as a string. |
+ *
+ *
+ * The host may include a port number (delimited by a ':').
+ * @param client The client to initialize
+ * @param argc The number of arguments to the initializer
+ * @param argv The arguments to the initializer as an array of NULL terminated
+ * strings
+ * @return true if the client was initialized successfully, false otherwise.
+ */
+rfbBool rfbInitClient(rfbClient* client,int* argc,char** argv);
+/**
+ * Cleans up the client structure and releases the memory allocated for it. You
+ * should call this when you're done with the rfbClient structure that you
+ * allocated with rfbGetClient().
+ * @note rfbClientCleanup() does not touch client->frameBuffer.
+ * @param client The client to clean up
+ */
+void rfbClientCleanup(rfbClient* client);
+
+#if(defined __cplusplus)
+}
+#endif
+
+/**
+ * @}
+ */
+
+/**
+ @page libvncclient_doc LibVNCClient Documentation
+ @section example_code Example Code
+ See SDLvncviewer.c for a rather complete client example.
+*/
+
+#endif
diff --git a/include/rfb/rfbconfig.h b/include/rfb/rfbconfig.h
new file mode 100644
index 0000000..6ed5686
--- /dev/null
+++ b/include/rfb/rfbconfig.h
@@ -0,0 +1,192 @@
+#ifndef _RFB_RFBCONFIG_H
+/* #undef _RFB_RFBCONFIG_H */
+
+/* rfb/rfbconfig.h. Generated automatically by cmake. */
+
+/* Enable 24 bit per pixel in native framebuffer */
+#define LIBVNCSERVER_ALLOW24BPP 1
+
+/* work around when write() returns ENOENT but does not mean it */
+/* #undef LIBVNCSERVER_ENOENT_WORKAROUND */
+
+/* Define to 1 if you have the