summaryrefslogtreecommitdiff
path: root/qpid/extras/dispatch/src/python_embedded.h
diff options
context:
space:
mode:
authorTed Ross <tross@apache.org>2013-06-07 21:50:01 +0000
committerTed Ross <tross@apache.org>2013-06-07 21:50:01 +0000
commit81f63fd54da06ee73d61416ca409ccc2f8f61f8d (patch)
treecc8785b11da4726b0b48e5100074bfa0c3998c5c /qpid/extras/dispatch/src/python_embedded.h
parentcb03df252c59e38f20d4609094774115d50b83f1 (diff)
downloadqpid-python-81f63fd54da06ee73d61416ca409ccc2f8f61f8d.tar.gz
QPID-4913 - Work-in-progres for configuration file reader.
Note that this commit adds the use of embedded Python code. Installation support is needed to ensure that the embedded python components are installed in the libexec area. Also, the configuration file path is currently hard-coded. This will be fixed shortly. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1490848 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'qpid/extras/dispatch/src/python_embedded.h')
-rw-r--r--qpid/extras/dispatch/src/python_embedded.h29
1 files changed, 29 insertions, 0 deletions
diff --git a/qpid/extras/dispatch/src/python_embedded.h b/qpid/extras/dispatch/src/python_embedded.h
new file mode 100644
index 0000000000..455925eecf
--- /dev/null
+++ b/qpid/extras/dispatch/src/python_embedded.h
@@ -0,0 +1,29 @@
+#ifndef __python_embedded_h__
+#define __python_embedded_h__ 1
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you 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 <Python.h>
+
+void dx_python_initialize();
+void dx_python_finalize();
+void dx_python_start();
+void dx_python_stop();
+
+#endif