* Parses oids from the given line and collects them in the given * oid_str_list. Returns 1 if parsing was successful and 0 otherwise. */
| 19 | * oid_str_list. Returns 1 if parsing was successful and 0 otherwise. |
| 20 | */ |
| 21 | static int parse_oid(const char *line, struct string_list *oid_str_list) |
| 22 | { |
| 23 | const char *arg; |
| 24 | |
| 25 | if (!skip_prefix(line, "oid ", &arg)) |
| 26 | return 0; |
| 27 | |
| 28 | string_list_append(oid_str_list, arg); |
| 29 | |
| 30 | return 1; |
| 31 | } |
| 32 | |
| 33 | /* |
| 34 | * Validates and send requested info back to the client. Any errors detected |
no test coverage detected