16 unsigned long discard_samples = 5; |
16 unsigned long discard_samples = 5; |
17 unsigned long max_samples = 20; /* The number of samples to do, if specified by user */ |
17 unsigned long max_samples = 20; /* The number of samples to do, if specified by user */ |
18 |
18 |
19 time_t lasttime; /* Time of the last sample we took */ |
19 time_t lasttime; /* Time of the last sample we took */ |
20 |
20 |
21 char* jid1 = "test1@getjabber.ath.cx"; |
21 char* jid1 = "test1@localhost"; |
22 char* jid2 = "test2@getjabber.ath.cx"; |
22 char* jid2 = "test2@localhost"; |
23 char* pass1 = "test1"; |
23 char* pass1 = "test"; |
24 char* pass2 = "test2"; |
24 char* pass2 = "test"; |
25 |
25 |
26 xmpp_stanza_t *bstanza; |
26 xmpp_stanza_t *bstanza; |
27 |
27 |
28 int message_handler(xmpp_conn_t * const conn, xmpp_stanza_t * const stanza, void * const userdata) |
28 int message_handler(xmpp_conn_t * const conn, xmpp_stanza_t * const stanza, void * const userdata) |
29 { |
29 { |