X-Git-Url: http://git.maemo.org/git/?p=python-purple;a=blobdiff_plain;f=connection_cbs.pxd;h=16576c2e9377700cbb25f5234827e2e4518e6fd5;hp=ca39432c171d6db569bbe1dbb727906ddbb98143;hb=e447f817ff1a908aa5e3769963980b63aafc072e;hpb=07bfe51b3e6afa82ca011f8a4c29fb4d669ed848
diff --git a/connection_cbs.pxd b/connection_cbs.pxd
index ca39432..16576c2 100644
--- a/connection_cbs.pxd
+++ b/connection_cbs.pxd
@@ -17,85 +17,125 @@
# along with this program. If not, see .
#
-cimport purple
+cdef extern from *:
+ ctypedef char const_char "const char"
connection_cbs = {}
cdef extern from *:
ctypedef int size_t
-cdef void connect_progress (connection.PurpleConnection *gc, const_char *text,
- size_t step, size_t step_count):
- debug.c_purple_debug(debug.PURPLE_DEBUG_INFO, "connection",
- "connect_progress\n")
- global connection_cbs
- try:
- (