32 #define PADDING_BYTES 10
44 while (*str && *str < 128) str++;
107 if (t->
key[0] !=
'T' || strlen(t->
key) != 4)
110 for (i = 0; *table[i]; i++)
120 const char *key, *
value;
121 char year[5] = {0}, day_month[5] = {0};
130 while (value[i] >=
'0' && value[i] <=
'9') i++;
131 if (value[i] ==
'\0' || value[i] ==
'-') {
135 if (value[i] ==
'-' &&
136 value[i+1] >=
'0' && value[i+1] <=
'1' &&
137 value[i+2] >=
'0' && value[i+2] <=
'9' &&
139 value[i+4] >=
'0' && value[i+4] <=
'3' &&
140 value[i+5] >=
'0' && value[i+5] <=
'9' &&
141 (value[i+6] ==
'\0' || value[i+6] ==
' ')) {
142 snprintf(day_month,
sizeof(day_month),
"%.2s%.2s", value + i + 4, value + i + 1);
234 if (dyn_bc && !dyn_buf)
266 const char *mimetype = NULL, *desc =
"";
274 mimetype = mime->
str;
281 "write an attached picture.\n", st->
index);