aboutsummaryrefslogtreecommitdiff
path: root/lib/isc/app_api.c
diff options
context:
space:
mode:
authorErwin Lansing <erwin@FreeBSD.org>2014-02-24 13:58:58 +0000
committerErwin Lansing <erwin@FreeBSD.org>2014-02-24 13:58:58 +0000
commit989b3b2d6068ce5b525479b7754977baf6364a7d (patch)
treedbbce28742bfdb3ea58da4461b1bb3e5c2fcaa28 /lib/isc/app_api.c
parent98ec2cd1facbb6a0e284fd0bacab33fbafb76fb8 (diff)
Notes
Diffstat (limited to 'lib/isc/app_api.c')
-rw-r--r--lib/isc/app_api.c12
1 files changed, 11 insertions, 1 deletions
diff --git a/lib/isc/app_api.c b/lib/isc/app_api.c
index ce767d1750538..709f2f258a4f9 100644
--- a/lib/isc/app_api.c
+++ b/lib/isc/app_api.c
@@ -1,5 +1,5 @@
/*
- * Copyright (C) 2009 Internet Systems Consortium, Inc. ("ISC")
+ * Copyright (C) 2009, 2013 Internet Systems Consortium, Inc. ("ISC")
*
* Permission to use, copy, modify, and/or distribute this software for any
* purpose with or without fee is hereby granted, provided that the above
@@ -91,6 +91,16 @@ isc_app_ctxrun(isc_appctx_t *ctx) {
}
isc_result_t
+isc_app_ctxonrun(isc_appctx_t *ctx, isc_mem_t *mctx,
+ isc_task_t *task, isc_taskaction_t action,
+ void *arg)
+{
+ REQUIRE(ISCAPI_APPCTX_VALID(ctx));
+
+ return (ctx->methods->ctxonrun(ctx, mctx, task, action, arg));
+}
+
+isc_result_t
isc_app_ctxsuspend(isc_appctx_t *ctx) {
REQUIRE(ISCAPI_APPCTX_VALID(ctx));