# &develguide;

## Available Functions

### `register_httpdcb (module, root_path, httpd_acces_handler_cb, httpd_flush_data_cb, httpd_init_proc_cb)`

Register a new http root with it's associated callbacks into the httpd module.

Meaning of the parameters is as follows:

- const char *mod - name of the module that register an http root path to be handled;

- str *root_path - the registered root path;

- httpd_acces_handler_cb f1 - handler to the callback method to be called on root path match;

- httpd_flush_data_cb f2 - handler to the callback method to be called for sending extra data (at a later time);

- httpd_init_proc_cb f3 - handler to the callback method to be called during httpd process init;