|
|
void Ns_UrlSpecificSet(
char *handle,
char *method,
char *url,
int id,
void *data,
int flags
void (*deletefunc) (void *)
);
data in memory, allowing subsequent retrieval using handle, method, url, and id. The flags argument can be NS_OP_NOINHERIT or NS_OP_NODELETE. NS_OP_NOINHERIT disables the default URL inheritance behavior. The deletefunc argument is called with data as an argument when this handle/url/method/id combination is re-registered or deleted, or when this virtual server shuts down. unless NS_OP_NODELETE is set.Normally, calling Ns_UrlSpecificSet on a handle/url/method/id combination which already has an operation registered for it causes the previous operation's delete procedure to be called. You can override this behavior by adding the NS_OP_NODELETE flag.
See the example for Ns_UrlSpecificAlloc.