summaryrefslogtreecommitdiffstats
path: root/sesman/chansrv/chansrv_common.h
diff options
context:
space:
mode:
authorLaxmikant Rashinkar <lk@Ubuntu-12.04-32bit>2014-10-12 17:47:35 -0700
committerLaxmikant Rashinkar <lk@Ubuntu-12.04-32bit>2014-10-12 17:47:35 -0700
commit122d8bc057fc47bfc6fcc425019e78254c199fd4 (patch)
tree3893ad63e2061d243342825fa0f3e97fd9933b62 /sesman/chansrv/chansrv_common.h
parentbc7a6b9bc66afe4adf7c232c94e41694319d4155 (diff)
downloadxrdp-proprietary-122d8bc057fc47bfc6fcc425019e78254c199fd4.tar.gz
xrdp-proprietary-122d8bc057fc47bfc6fcc425019e78254c199fd4.zip
sound redirection: handle fragmented packets
Diffstat (limited to 'sesman/chansrv/chansrv_common.h')
-rw-r--r--sesman/chansrv/chansrv_common.h27
1 files changed, 27 insertions, 0 deletions
diff --git a/sesman/chansrv/chansrv_common.h b/sesman/chansrv/chansrv_common.h
new file mode 100644
index 00000000..833e3359
--- /dev/null
+++ b/sesman/chansrv/chansrv_common.h
@@ -0,0 +1,27 @@
+/**
+ * xrdp: A Remote Desktop Protocol server.
+ *
+ * Copyright (C) Laxmikant Rashinkar 2009-2014
+ *
+ * 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.
+ */
+
+#ifndef _CHANSRV_COMMON_H
+#define _CHANSRV_COMMON_H
+
+#include "parse.h"
+
+int read_entire_packet(struct stream *src, struct stream **dest, int chan_flags, int length, int total_length);
+
+#endif
+