#include <stdio.h>


Go to the source code of this file.
Functions | |
| int | mi_write_tree (FILE *stream, struct mi_root *tree) |
| void | mi_writer_destroy (void) |
| int | mi_writer_init (unsigned int size, char *ident) |
Definition in file mi_writer.h.
| int mi_write_tree | ( | FILE * | stream, | |
| struct mi_root * | tree | |||
| ) |
Definition at line 171 of file mi_writer.c.
References buf, mi_root::code, int2str(), mi_node::kids, _str::len, LM_ERR, mi_fifo_reply(), mi_write_buffer, mi_write_buffer_len, mi_root::node, mi_root::reason, recur_write_tree(), and _str::s.
Referenced by fifo_close_async(), and mi_fifo_server().
| void mi_writer_destroy | ( | void | ) |
| int mi_writer_init | ( | unsigned int | size, | |
| char * | ident | |||
| ) |
Definition at line 53 of file mi_writer.c.
References _str::len, LM_ERR, mi_write_buffer, mi_write_buffer_len, NULL, pkg_malloc, and _str::s.
Referenced by fifo_process(), and mi_child_init().
1.5.6