- Timestamp:
- 2010-09-01T22:09:27Z (14 years ago)
- Branches:
- master
- Children:
- 2dcaf9a
- Parents:
- 0c85c08
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
otr.h
r0c85c08 r934db064 41 41 42 42 43 #ifdef WITH_OTR44 43 #include <libotr/proto.h> 45 44 #include <libotr/message.h> … … 81 80 int otr_check_for_key(struct account *a); 82 81 83 /* called from imcb_buddy_msg() */84 char *otr_handle_message(struct im_connection *ic, const char *handle,85 const char *msg);86 87 /* called from imc_buddy_msg() */88 int otr_send_message(struct im_connection *ic, const char *handle, const char *msg,89 int flags);90 91 #else92 93 typedef void otr_t;94 typedef void *OtrlMessageAppOps;95 96 #define otr_free(otr) {}97 #define otr_load(irc) {}98 #define otr_save(irc) {}99 #define otr_remove(nick) {}100 #define otr_rename(onick,nnick) {}101 #define otr_check_for_key(acc) (0)102 #define otr_handle_message(ic,handle,msg) (g_strdup(msg))103 #define otr_send_message(ic,h,m,f) (ic->acc->prpl->buddy_msg(ic,h,m,f))104 105 void cmd_otr_nosupport(void *, char **);106 107 82 #endif 108 #endif
Note: See TracChangeset
for help on using the changeset viewer.