equal
deleted
inserted
replaced
43 static int regmode, regdone; |
43 static int regmode, regdone; |
44 static enum imstatus mystatus = offline; |
44 static enum imstatus mystatus = offline; |
45 unsigned char online; |
45 unsigned char online; |
46 |
46 |
47 char imstatus2char[imstatus_size] = { |
47 char imstatus2char[imstatus_size] = { |
48 '_', 'o', 'i', 'f', 'd', 'c', 'n', 'a' |
48 '_', 'o', 'i', 'f', 'd', 'n', 'a' |
49 }; |
49 }; |
50 |
50 |
51 static enum { |
51 static enum { |
52 STATE_CONNECTING, |
52 STATE_CONNECTING, |
53 STATE_GETAUTH, |
53 STATE_GETAUTH, |
238 case away: |
238 case away: |
239 xmlnode_insert_cdata(xmlnode_insert_tag(x, "show"), "away", |
239 xmlnode_insert_cdata(xmlnode_insert_tag(x, "show"), "away", |
240 (unsigned) -1); |
240 (unsigned) -1); |
241 break; |
241 break; |
242 |
242 |
243 case occupied: |
|
244 case dontdisturb: |
243 case dontdisturb: |
245 xmlnode_insert_cdata(xmlnode_insert_tag(x, "show"), "dnd", |
244 xmlnode_insert_cdata(xmlnode_insert_tag(x, "show"), "dnd", |
246 (unsigned) -1); |
245 (unsigned) -1); |
247 break; |
246 break; |
248 |
247 |