Searched refs:ppcontext (Results 1 - 4 of 4) sorted by relevance

/osnet-11/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 Dpp.h440 extern void* ppcontext(void*, int);
H A Dpplib.h237 struct ppcontext* context; /* current context */ \
700 struct ppcontext /* pp context */ struct
/osnet-11/usr/src/lib/libpp/
H A DMakefile.com35 ppcontext.o \

Completed in 29 milliseconds