summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'psi/psapi.h')
-rw-r--r--psi/psapi.h23
1 files changed, 10 insertions, 13 deletions
diff --git a/psi/psapi.h b/psi/psapi.h
index 74375d9b..5e38ce41 100644
--- a/psi/psapi.h
+++ b/psi/psapi.h
@@ -1,4 +1,4 @@
-/* Copyright (C) 2001-2019 Artifex Software, Inc.
+/* Copyright (C) 2001-2020 Artifex Software, Inc.
All Rights Reserved.
This software is provided AS-IS with no warranty, either express or
@@ -57,20 +57,17 @@ psapi_init_with_args01(gs_lib_ctx_t *instance,
int
psapi_init_with_args2(gs_lib_ctx_t *instance);
-typedef enum {
- psapi_spt_invalid = -1,
- psapi_spt_null = 0, /* void * is NULL */
- psapi_spt_bool = 1, /* void * is NULL (false) or non-NULL (true) */
- psapi_spt_int = 2, /* void * is a pointer to an int */
- psapi_spt_float = 3, /* void * is a float * */
- psapi_spt_name = 4, /* void * is a char * */
- psapi_spt_string = 5 /* void * is a char * */
-} psapi_sptype;
int
psapi_set_param(gs_lib_ctx_t *ctx,
- psapi_sptype type,
- const char *param,
- const void *val);
+ gs_param_list *plist);
+
+int
+psapi_set_device_param(gs_lib_ctx_t *ctx,
+ gs_param_list *plist);
+
+int
+psapi_get_device_params(gs_lib_ctx_t *ctx,
+ gs_param_list *plist);
int
psapi_add_path(gs_lib_ctx_t *ctx,