Searched defs:ppcontext (Results 1 - 2 of 2) sorted by relevance

/illumos-gate/usr/src/lib/libpp/common/
H A Dppcontext.c37 ppcontext(void* context, int flags) function
39 struct ppcontext* np = (struct ppcontext*)context;
40 struct ppcontext* op;
44 if (!(op = pp.context)) op = pp.context = newof(0, struct ppcontext, 1, 0);
45 memcpy(op, _PP_CONTEXT_BASE_, sizeof(struct ppcontext));
49 if (!(op = np)) op = (struct ppcontext*)_PP_CONTEXT_BASE_;
60 memzero(op, sizeof(struct ppcontext));
63 if (np) memcpy(_PP_CONTEXT_BASE_, np, sizeof(struct ppcontext));
H A Dpplib.h237 struct ppcontext* context; /* current context */ \
700 struct ppcontext /* pp context */ struct

Completed in 61 milliseconds