* Convert binary to an ASCII string according to the supplied type descriptor */
| 154 | * Convert binary to an ASCII string according to the supplied type descriptor |
| 155 | */ |
| 156 | int |
| 157 | ng_unparse(const struct ng_parse_type *type, |
| 158 | const u_char *data, char *cbuf, int cbuflen) |
| 159 | { |
| 160 | int off = 0; |
| 161 | |
| 162 | return INVOKE(type, unparse)(type, data, &off, cbuf, cbuflen); |
| 163 | } |
| 164 | |
| 165 | /* |
| 166 | * Fill in the default value according to the supplied type descriptor |
no outgoing calls
no test coverage detected