summaryrefslogtreecommitdiffstats
path: root/xrdpapi
diff options
context:
space:
mode:
authorJay Sorg <jay.sorg@gmail.com>2012-08-02 10:48:59 -0700
committerJay Sorg <jay.sorg@gmail.com>2012-08-02 10:48:59 -0700
commite9aa5df42086b32f9bce915c063464f25b388e3b (patch)
treea35177b2023c750c14ea4f5b9399f132ca05825b /xrdpapi
parent17ee0e3aed6171b385486ec2f5251e78f9d2ef06 (diff)
downloadxrdp-proprietary-e9aa5df42086b32f9bce915c063464f25b388e3b.tar.gz
xrdp-proprietary-e9aa5df42086b32f9bce915c063464f25b388e3b.zip
xrdpapi: added library skel
Diffstat (limited to 'xrdpapi')
-rw-r--r--xrdpapi/Makefile.am24
-rw-r--r--xrdpapi/xrdpapi.c64
2 files changed, 88 insertions, 0 deletions
diff --git a/xrdpapi/Makefile.am b/xrdpapi/Makefile.am
new file mode 100644
index 00000000..88ef100e
--- /dev/null
+++ b/xrdpapi/Makefile.am
@@ -0,0 +1,24 @@
+EXTRA_DIST = xrdpapi.h
+
+EXTRA_DEFINES =
+EXTRA_INCLUDES =
+EXTRA_LIBS =
+EXTRA_FLAGS =
+
+AM_CFLAGS = \
+ $(EXTRA_DEFINES)
+
+INCLUDES = \
+ $(EXTRA_INCLUDES)
+
+lib_LTLIBRARIES = \
+ libxrdpapi.la
+
+libxrdpapi_la_SOURCES = \
+ xrdpapi.c
+
+libxrdpapi_la_LDFLAGS = \
+ $(EXTRA_FLAGS)
+
+libxrdpapi_la_LIBADD = \
+ $(EXTRA_LIBS)
diff --git a/xrdpapi/xrdpapi.c b/xrdpapi/xrdpapi.c
new file mode 100644
index 00000000..3afc8594
--- /dev/null
+++ b/xrdpapi/xrdpapi.c
@@ -0,0 +1,64 @@
+/**
+ * xrdp: A Remote Desktop Protocol server.
+ *
+ * Copyright (C) Thomas Goddard 2012
+ * Copyright (C) Jay Sorg 2012
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+#include <stdio.h>
+#include <stdlib.h>
+#include <string.h>
+#include "xrdpapi.h"
+
+/*****************************************************************************/
+void*
+WTSVirtualChannelOpen(void* hServer, unsigned int SessionId,
+ const char* pVirtualName)
+{
+ return 0;
+}
+
+/*****************************************************************************/
+void*
+WTSVirtualChannelOpenEx(unsigned int SessionId,
+ const char* pVirtualName,
+ unsigned int flags)
+{
+ return 0;
+}
+
+/*****************************************************************************/
+int
+WTSVirtualChannelWrite(void* hChannelHandle, const char* Buffer,
+ unsigned int Length, unsigned int* pBytesWritten)
+{
+ return 0;
+}
+
+/*****************************************************************************/
+int
+WTSVirtualChannelRead(void* nChannelHandle, unsigned int TimeOut,
+ char* Buffer, unsigned int BufferSize,
+ unsigned int* pBytesRead)
+{
+ return 0;
+}
+
+/*****************************************************************************/
+int
+WTSVirtualChannelClose(void* openHandle)
+{
+ return 0;
+}