summaryrefslogtreecommitdiff
path: root/php/src/IcePHP/Connection.h
diff options
context:
space:
mode:
Diffstat (limited to 'php/src/IcePHP/Connection.h')
-rw-r--r--php/src/IcePHP/Connection.h30
1 files changed, 30 insertions, 0 deletions
diff --git a/php/src/IcePHP/Connection.h b/php/src/IcePHP/Connection.h
new file mode 100644
index 00000000000..03d67d71357
--- /dev/null
+++ b/php/src/IcePHP/Connection.h
@@ -0,0 +1,30 @@
+// **********************************************************************
+//
+// Copyright (c) 2003-2009 ZeroC, Inc. All rights reserved.
+//
+// This copy of Ice is licensed to you under the terms described in the
+// ICE_LICENSE file included in this distribution.
+//
+// **********************************************************************
+
+#ifndef ICEPHP_CONNECTION_H
+#define ICEPHP_CONNECTION_H
+
+#include <Config.h>
+
+namespace IcePHP
+{
+
+bool connectionInit(TSRMLS_D);
+
+bool createConnection(zval*, const Ice::ConnectionPtr& TSRMLS_DC);
+bool fetchConnection(zval*, Ice::ConnectionPtr& TSRMLS_DC);
+
+//
+// Class entry.
+//
+extern zend_class_entry* connectionClassEntry;
+
+} // End of namespace IcePHP
+
+#endif