so://phie

soso

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

blob: 808ac0a9bc969fd2b0502f343db1c348ed819e68 (433 bytes)[raw]

1#include "default.h"

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

3

4static orb_rc_t init(orb_module_t *self) {

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

6 (void) data;

7 return ORB_OK;

8}

9

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

11 return ORB_ERR(duc_default_render(out, (duc_default_t *) self->data));

12}

13

14const orb_module_type_t DEFAULT_TYPE = {

15 .size = sizeof(duc_default_t),

16 .init = init,

17 .render = render,

18};