summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authormidipix <writeonce@midipix.org>2016-11-14 12:36:25 -0500
committermidipix <writeonce@midipix.org>2016-11-14 14:39:24 -0500
commit5a5fa5cd283d214bedb92130f2807abe64643f16 (patch)
tree542ed9613dec8e17686b0ca5aa158fc7714c7c49
parentf768e4441f0b0826bed62d090a80474368df2a98 (diff)
downloadperk-5a5fa5cd283d214bedb92130f2807abe64643f16.tar.bz2
perk-5a5fa5cd283d214bedb92130f2807abe64643f16.tar.xz
libary api: pre-alpha: code maintenance: removed struct pe_server_ctx.
-rw-r--r--include/perk/perk.h4
-rw-r--r--src/driver/pe_driver_ctx.c1
-rw-r--r--src/internal/perk_driver_impl.h1
3 files changed, 0 insertions, 6 deletions
diff --git a/include/perk/perk.h b/include/perk/perk.h
index 252298c..de846da 100644
--- a/include/perk/perk.h
+++ b/include/perk/perk.h
@@ -112,10 +112,6 @@ struct pe_image_meta {
struct pe_meta_sec_hdr * hidata;
};
-struct pe_server_ctx {
- const char ** attrs;
-};
-
struct pe_io_ctx {
int status;
int prot;
diff --git a/src/driver/pe_driver_ctx.c b/src/driver/pe_driver_ctx.c
index 4ca3876..3622fa8 100644
--- a/src/driver/pe_driver_ctx.c
+++ b/src/driver/pe_driver_ctx.c
@@ -91,7 +91,6 @@ static struct pe_driver_ctx_impl * pe_driver_ctx_alloc(
ictx->ctx.erricap = &ictx->ctx.erriptr[--elements];
ictx->meta = meta;
- ictx->ctx.cctx.srvctx = &ictx->ctx.srvctx;
ictx->ctx.cctx.ioctx = &ictx->ctx.ioctx;
for (entry=meta->entries,units=ictx->units; entry->fopt || entry->arg; entry++)
diff --git a/src/internal/perk_driver_impl.h b/src/internal/perk_driver_impl.h
index f35e82f..3c0d15d 100644
--- a/src/internal/perk_driver_impl.h
+++ b/src/internal/perk_driver_impl.h
@@ -23,7 +23,6 @@ enum app_tags {
};
struct pe_driver_ctx_impl {
- struct pe_server_ctx srvctx;
struct pe_io_ctx ioctx;
struct pe_common_ctx cctx;
struct pe_driver_ctx ctx;