so://phie

soso

My pretty neat website
git clone git://soophie.de/soso

blob: 450e03e5efce07ad512ce659b6ae0f70aad7dec8 (548 bytes)[raw]

1#include "index.h"

2#include "../templ/duc_index.h"

3

4static orb_rc_t init(orb_module_t *self) {

5 duc_index_t *data = (duc_index_t *) self->data;

6 (void) data;

7 if (self->param_list) {

8 index_param_list_t *param_list = (index_param_list_t *) self->param_list;

9 (void) param_list;

10 }

11 return ORB_OK;

12}

13

14static orb_rc_t render(orb_module_t *self, void *out) {

15 return ORB_ERR(duc_index_render(out, (duc_index_t *) self->data));

16}

17

18const orb_module_type_t INDEX_TYPE = {

19 .size = sizeof(duc_index_t),

20 .init = init,

21 .render = render,

22};