ac_res_t
ac_res_t *buf;
resset(ac_res_t *res, int id, int state)
ac_res_t *resp;
resp = (ac_res_t *)((uintptr_t)res + (sizeof (ac_res_t) * (id - 1)));
resget(ac_res_t *res, int id)
ac_res_t *resp;
resp = (ac_res_t *)((uintptr_t)res + (sizeof (ac_res_t) * (id - 1)));
str2buf(ac_res_t *buf, char *str, int state, int type)
buf2str(ac_res_t *buffer, size_t bufsz, int state, int type)
ac_res_t *buf, *cur;
#define AC_BUFSIZE (sizeof (ac_res_t) * (AC_MAX_RES + 1))
extern void str2buf(ac_res_t *, char *, int, int);
extern char *buf2str(ac_res_t *, size_t, int, int);
ac_res_t res[6];
ac_res_t res[6];
ac_res_t *res;
ac_res_t *tmp;
bufsz > sizeof (ac_res_t) * (AC_MAX_RES + 1) ||
(bufsz / sizeof (ac_res_t)) * sizeof (ac_res_t) != bufsz)
ac_res_t *res;
ac_res_t *tmp;
size_t ressz = sizeof (ac_res_t) * (maxres + 1);