summaryrefslogtreecommitdiff
path: root/plugins/easy_codec/codec-g729a.h
diff options
context:
space:
mode:
authorTomas Kukosa <tomas.kukosa@siemens.com>2007-12-03 09:59:18 +0000
committerTomas Kukosa <tomas.kukosa@siemens.com>2007-12-03 09:59:18 +0000
commit4df43619aa5e750daad603bd374384f03cdac0c5 (patch)
tree9344e5aaec05e57d54c06d75283eafe84d719f7a /plugins/easy_codec/codec-g729a.h
parent395a5add850117138e666794772403bcb3ca4dbc (diff)
downloadwireshark-4df43619aa5e750daad603bd374384f03cdac0c5.tar.gz
Codec plugin example. The stub for ImTelephone libraries.
(It is not compiled by default.) svn path=/trunk/; revision=23699
Diffstat (limited to 'plugins/easy_codec/codec-g729a.h')
-rw-r--r--plugins/easy_codec/codec-g729a.h41
1 files changed, 41 insertions, 0 deletions
diff --git a/plugins/easy_codec/codec-g729a.h b/plugins/easy_codec/codec-g729a.h
new file mode 100644
index 0000000000..ac75b62d03
--- /dev/null
+++ b/plugins/easy_codec/codec-g729a.h
@@ -0,0 +1,41 @@
+/* codec-g729a.h
+* Easy codecs stub for EasyG729A
+* 2007 Tomas Kukosa
+*
+* $Id$
+*
+* Wireshark - Network traffic analyzer
+* By Gerald Combs <gerald@wireshark.org>
+* Copyright 1998 Gerald Combs
+*
+* This program is free software; you can redistribute it and/or
+* modify it under the terms of the GNU General Public License
+* as published by the Free Software Foundation; either version 2
+* of the License, or (at your option) any later version.
+*
+* This program is distributed in the hope that it will be useful,
+* but WITHOUT ANY WARRANTY; without even the implied warranty of
+* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+* GNU General Public License for more details.
+*
+* You should have received a copy of the GNU General Public License
+* along with this program; if not, write to the Free Software
+* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+*/
+
+#ifndef _CODEC_G729A_H_
+#define _CODEC_G729A_H_
+
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+void *codec_g729a_init(void);
+void codec_g729a_release(void *ctx);
+int codec_g729a_decode(void *ctx, const void *input, int inputSizeBytes, void *output, int *outputSizeBytes);
+
+#ifdef __cplusplus
+} /* extern "C" */
+#endif
+
+#endif /* _CODEC_G729A_H_ */ \ No newline at end of file