| 35 | }; |
| 36 | |
| 37 | const char *type_name(unsigned int type) |
| 38 | { |
| 39 | if (type >= ARRAY_SIZE(object_type_strings)) |
| 40 | return NULL; |
| 41 | return object_type_strings[type]; |
| 42 | } |
| 43 | |
| 44 | int type_from_string_gently(const char *str, ssize_t len, int gentle) |
| 45 | { |
no outgoing calls