sx.h.patch   [plain text]


--- /tmp/jabberd-2.2.17/sx/sx.h	2012-02-12 12:38:07.000000000 -0800
+++ ./jabberd2/sx/sx.h	2012-08-28 18:49:00.000000000 -0700
@@ -415,3 +415,10 @@ JABBERD2_API int         __sx_event(cons
 #include "plugins.h"
 
 #endif
+
+int sx_apple_password_callback(char *return_buf, int return_buf_size, int in_rwflag, void *in_userdata);
+typedef struct ssl_userdata_st *ssl_userdata_t; 
+struct ssl_userdata_st {
+    char *pemfile;
+    char *password;
+};