| 24901:b531743f2a8e | 24902:30e71eca7c3b |
|---|---|
| 29 #include "debug.h" | 29 #include "debug.h" |
| 30 | 30 |
| 31 static const char * const moodstrings[] = { | 31 static const char * const moodstrings[] = { |
| 32 "afraid", | 32 "afraid", |
| 33 "amazed", | 33 "amazed", |
| 34 "amorous", | |
| 34 "angry", | 35 "angry", |
| 35 "annoyed", | 36 "annoyed", |
| 36 "anxious", | 37 "anxious", |
| 37 "aroused", | 38 "aroused", |
| 38 "ashamed", | 39 "ashamed", |
| 39 "bored", | 40 "bored", |
| 40 "brave", | 41 "brave", |
| 41 "calm", | 42 "calm", |
| 43 "cautious", | |
| 42 "cold", | 44 "cold", |
| 45 "confident", | |
| 43 "confused", | 46 "confused", |
| 47 "contemplative", | |
| 44 "contented", | 48 "contented", |
| 45 "cranky", | 49 "cranky", |
| 50 "crazy", | |
| 51 "creative", | |
| 46 "curious", | 52 "curious", |
| 53 "dejected", | |
| 47 "depressed", | 54 "depressed", |
| 48 "disappointed", | 55 "disappointed", |
| 49 "disgusted", | 56 "disgusted", |
| 57 "dismayed", | |
| 50 "distracted", | 58 "distracted", |
| 51 "embarrassed", | 59 "embarrassed", |
| 60 "envious", | |
| 52 "excited", | 61 "excited", |
| 53 "flirtatious", | 62 "flirtatious", |
| 54 "frustrated", | 63 "frustrated", |
| 64 "grateful", | |
| 65 "grieving", | |
| 55 "grumpy", | 66 "grumpy", |
| 56 "guilty", | 67 "guilty", |
| 57 "happy", | 68 "happy", |
| 69 "hopeful", | |
| 58 "hot", | 70 "hot", |
| 59 "humbled", | 71 "humbled", |
| 60 "humiliated", | 72 "humiliated", |
| 61 "hungry", | 73 "hungry", |
| 62 "hurt", | 74 "hurt", |
| 67 "interested", | 79 "interested", |
| 68 "intoxicated", | 80 "intoxicated", |
| 69 "invincible", | 81 "invincible", |
| 70 "jealous", | 82 "jealous", |
| 71 "lonely", | 83 "lonely", |
| 84 "lost", | |
| 85 "lucky", | |
| 72 "mean", | 86 "mean", |
| 73 "moody", | 87 "moody", |
| 74 "nervous", | 88 "nervous", |
| 75 "neutral", | 89 "neutral", |
| 76 "offended", | 90 "offended", |
| 91 "outraged", | |
| 77 "playful", | 92 "playful", |
| 78 "proud", | 93 "proud", |
| 94 "relaxed", | |
| 79 "relieved", | 95 "relieved", |
| 80 "remorseful", | 96 "remorseful", |
| 81 "restless", | 97 "restless", |
| 82 "sad", | 98 "sad", |
| 83 "sarcastic", | 99 "sarcastic", |
| 100 "satisfied", | |
| 84 "serious", | 101 "serious", |
| 85 "shocked", | 102 "shocked", |
| 86 "shy", | 103 "shy", |
| 87 "sick", | 104 "sick", |
| 88 "sleepy", | 105 "sleepy", |
| 106 "spontaneous", | |
| 89 "stressed", | 107 "stressed", |
| 108 "strong", | |
| 90 "surprised", | 109 "surprised", |
| 110 "thankful", | |
| 91 "thirsty", | 111 "thirsty", |
| 112 "tired", | |
| 113 "undefined", | |
| 114 "weak", | |
| 92 "worried", | 115 "worried", |
| 93 NULL | 116 NULL |
| 94 }; | 117 }; |
| 95 | 118 |
| 96 static void jabber_mood_cb(JabberStream *js, const char *from, xmlnode *items) { | 119 static void jabber_mood_cb(JabberStream *js, const char *from, xmlnode *items) { |