forked from mirrors/treebird
f1a407c79f
FossilOrigin-Name: 6ca19819ff1547744a39e4d248a7803bf6dfd8f20ae64e704f044200746acaf1
13 lines
1,019 B
Text
13 lines
1,019 B
Text
#ifndef __status_interactions_label
|
|
#define __status_interactions_label
|
|
static const char data_status_interactions_label[] = {0X3C,0X64,0X69,0X76,0X20,0X63,0X6C,0X61,0X73,0X73,0X3D,0X22,0X68,0X65,0X61,0X64,0X65,0X72,0X2D,0X62,0X74,0X6E,0X20,0X62,0X74,0X6E,0X22,0X3E,0XA,0X20,0X20,0X3C,0X73,0X70,0X61,0X6E,0X20,0X63,0X6C,0X61,0X73,0X73,0X3D,0X22,0X62,0X74,0X6E,0X2D,0X68,0X65,0X61,0X64,0X65,0X72,0X22,0X3E,0X25,0X73,0X3C,0X2F,0X73,0X70,0X61,0X6E,0X3E,0XA,0X20,0X20,0X3C,0X73,0X70,0X61,0X6E,0X20,0X63,0X6C,0X61,0X73,0X73,0X3D,0X22,0X62,0X74,0X6E,0X2D,0X63,0X6F,0X6E,0X74,0X65,0X6E,0X74,0X22,0X3E,0X25,0X64,0X3C,0X2F,0X73,0X70,0X61,0X6E,0X3E,0XA,0X3C,0X2F,0X64,0X69,0X76,0X3E,0};
|
|
struct status_interactions_label_template {const char* header;
|
|
int value;
|
|
};
|
|
char* tmpl_gen_status_interactions_label(struct status_interactions_label_template* data, unsigned* size){
|
|
char* ret;
|
|
unsigned s = easprintf(&ret, data_status_interactions_label, data->header?data->header:"", data->value);
|
|
if (size) *size = s;
|
|
return ret;
|
|
}
|
|
#endif
|