Skinny: add CP-7921G

and reindent
This commit is contained in:
Mathieu Parent 2011-04-10 22:58:09 +02:00
parent 04cf177091
commit bd03d578d1
2 changed files with 94 additions and 93 deletions

View File

@ -119,6 +119,7 @@ struct skinny_table SKINNY_DEVICE_TYPES[] = {
{"Cisco IP Phone 7940", 8}, {"Cisco IP Phone 7940", 8},
{"Cisco IP Phone 7935", 9}, {"Cisco IP Phone 7935", 9},
{"Cisco ATA 186", 12}, {"Cisco ATA 186", 12},
{"Cisco IP Phone CP-7921G", 365},
{"Cisco IP Phone CP-7962G", 404}, {"Cisco IP Phone CP-7962G", 404},
{"Cisco IP Phone CP-7965G", 436}, {"Cisco IP Phone CP-7965G", 436},
{"Cisco IP Phone CP-7961G", 30018}, {"Cisco IP Phone CP-7961G", 30018},

View File

@ -92,7 +92,7 @@ const char *skinny_message_type2str(uint32_t id);
uint32_t skinny_str2message_type(const char *str); uint32_t skinny_str2message_type(const char *str);
#define SKINNY_PUSH_MESSAGE_TYPES SKINNY_DECLARE_PUSH_MATCH(SKINNY_MESSAGE_TYPES) #define SKINNY_PUSH_MESSAGE_TYPES SKINNY_DECLARE_PUSH_MATCH(SKINNY_MESSAGE_TYPES)
extern struct skinny_table SKINNY_DEVICE_TYPES[15]; extern struct skinny_table SKINNY_DEVICE_TYPES[16];
const char *skinny_device_type2str(uint32_t id); const char *skinny_device_type2str(uint32_t id);
uint32_t skinny_str2device_type(const char *str); uint32_t skinny_str2device_type(const char *str);
#define SKINNY_PUSH_DEVICE_TYPES SKINNY_DECLARE_PUSH_MATCH(SKINNY_DEVICE_TYPES) #define SKINNY_PUSH_DEVICE_TYPES SKINNY_DECLARE_PUSH_MATCH(SKINNY_DEVICE_TYPES)