All Rights Reserved.
This software is provided AS-IS with no warranty, either express or
implied.
This software is distributed under license and may not be copied,
modified or distributed except as expressly authorized under the terms
of the license contained in the file LICENSE in this distribution.
Refer to licensing information at http://www.artifex.com or contact
Artifex Software, Inc., 39 Mesa Street, Suite 108A, San Francisco,
CA 94129, USA, for further information.
*/
#ifndef icontext_INCLUDED
# define icontext_INCLUDED
#include "gsstype.h"
#include "icstate.h"
extern_st(st_context_state);
* Define the procedure for resetting user parameters when switching
* contexts. This is defined in either zusparam.c or inouparm.c.
*/
extern int set_user_params(i_ctx_t *i_ctx_p, const ref * paramdict);
int context_state_alloc(gs_context_state_t ** ppcst,
const ref *psystem_dict,
const gs_dual_memory_t * dmem);
int context_state_load(gs_context_state_t *);
int context_state_store(gs_context_state_t *);
int context_state_free(gs_context_state_t *);
#endif