Sun, 12 Feb 2006 22:14:38 +0000
[gaim-migrate @ 15620]
This is the way we clean the code, clean the code, clean the code
This is the way we clean the code, clean the code, clean the code
So early in the morning
| 6584 | 1 | #include "module.h" |
| 2 | ||
| 12787 | 3 | MODULE = Gaim::Connection PACKAGE = Gaim::Connection PREFIX = gaim_connection_ |
| 11118 | 4 | PROTOTYPES: ENABLE |
| 6584 | 5 | |
| 6 | Gaim::Account | |
| 7 | gaim_connection_get_account(gc) | |
| 8 | Gaim::Connection gc | |
| 9 | ||
| 10 | const char * | |
| 11118 | 11 | gaim_connection_get_password(gc) |
| 12 | Gaim::Connection gc | |
| 13 | ||
| 14 | const char * | |
| 6584 | 15 | gaim_connection_get_display_name(gc) |
| 16 | Gaim::Connection gc | |
| 17 | ||
| 12787 | 18 | void |
| 11118 | 19 | gaim_connection_notice(gc, text) |
| 20 | Gaim::Connection gc | |
| 21 | const char *text | |
| 6584 | 22 | |
| 12787 | 23 | void |
| 11118 | 24 | gaim_connection_error(gc, reason) |
| 25 | Gaim::Connection gc | |
| 26 | const char *reason | |
| 6584 | 27 | |
| 12787 | 28 | void |
| 29 | gaim_connection_destroy(gc) | |
| 30 | Gaim::Connection gc | |
| 31 | ||
| 32 | void | |
| 33 | gaim_connection_set_state(gc, state) | |
| 34 | Gaim::Connection gc | |
| 35 | Gaim::ConnectionState state | |
| 36 | ||
| 37 | void | |
| 38 | gaim_connection_set_account(gc, account) | |
| 39 | Gaim::Connection gc | |
| 40 | Gaim::Account account | |
| 41 | ||
| 42 | void | |
| 43 | gaim_connection_set_display_name(gc, name) | |
| 44 | Gaim::Connection gc | |
| 45 | const char *name | |
| 46 | ||
| 47 | Gaim::ConnectionState | |
| 48 | gaim_connection_get_state(gc) | |
| 49 | Gaim::Connection gc | |
| 50 | ||
| 51 | MODULE = Gaim::Connection PACKAGE = Gaim::Connections PREFIX = gaim_connections_ | |
| 52 | PROTOTYPES: ENABLE | |
| 53 | ||
| 54 | void | |
| 6584 | 55 | gaim_connections_disconnect_all() |
| 56 | ||
| 11118 | 57 | void |
| 58 | gaim_connections_get_all() | |
| 59 | PREINIT: | |
| 60 | GList *l; | |
| 61 | PPCODE: | |
| 62 | for (l = gaim_connections_get_all(); l != NULL; l = l->next) { | |
| 12787 | 63 | XPUSHs(sv_2mortal(gaim_perl_bless_object(l->data, "Gaim::Connection"))); |
| 11118 | 64 | } |
| 6584 | 65 | |
| 66 | void | |
| 11118 | 67 | gaim_connections_get_connecting() |
| 6584 | 68 | PREINIT: |
| 69 | GList *l; | |
| 70 | PPCODE: | |
| 11118 | 71 | for (l = gaim_connections_get_connecting(); l != NULL; l = l->next) { |
| 12787 | 72 | XPUSHs(sv_2mortal(gaim_perl_bless_object(l->data, "Gaim::Connection"))); |
| 11118 | 73 | } |
| 74 | ||
| 12787 | 75 | void |
| 11118 | 76 | gaim_connections_set_ui_ops(ops) |
| 77 | Gaim::Connection::UiOps ops | |
| 78 | ||
| 79 | Gaim::Connection::UiOps | |
| 80 | gaim_connections_get_ui_ops() | |
| 81 | ||
| 12787 | 82 | void |
| 11118 | 83 | gaim_connections_init() |
| 84 | ||
| 12787 | 85 | void |
| 11118 | 86 | gaim_connections_uninit() |
| 87 | ||
| 88 | void * | |
| 89 | gaim_connections_get_handle() |