Defines | |
#define | STP_DBG_LUT 0x1 |
#define | STP_DBG_COLORFUNC 0x2 |
#define | STP_DBG_INK 0x4 |
#define | STP_DBG_PS 0x8 |
#define | STP_DBG_PCL 0x10 |
#define | STP_DBG_ESCP2 0x20 |
#define | STP_DBG_CANON 0x40 |
#define | STP_DBG_LEXMARK 0x80 |
#define | STP_DBG_WEAVE_PARAMS 0x100 |
#define | STP_DBG_ROWS 0x200 |
#define | STP_DBG_MARK_FILE 0x400 |
#define | STP_DBG_LIST 0x800 |
#define | STP_DBG_MODULE 0x1000 |
#define | STP_DBG_PATH 0x2000 |
#define | STP_DBG_PAPER 0x4000 |
#define | STP_DBG_PRINTERS 0x8000 |
#define | STP_DBG_XML 0x10000 |
#define | STP_DBG_VARS 0x20000 |
#define | STP_DBG_OLYMPUS 0x40000 |
#define | STP_DBG_CURVE 0x80000 |
#define | STP_DBG_CURVE_ERRORS 0x100000 |
#define | STP_SAFE_FREE(x) |
Functions | |
int | stp_init (void) |
Initialise libgimpprint. | |
const char * | stp_set_output_codeset (const char *codeset) |
Set the output encoding. | |
stp_curve_t * | stp_read_and_compose_curves (const char *s1, const char *s2, stp_curve_compose_t comp, size_t piecewise_point_count) |
void | stp_abort (void) |
void | stp_prune_inactive_options (stp_vars_t *v) |
void | stp_zprintf (const stp_vars_t *v, const char *format,...) __attribute__((format(__printf__ |
void | stp_zfwrite (const char *buf, size_t bytes, size_t nitems, const stp_vars_t *v) |
void | stp_putc (int ch, const stp_vars_t *v) |
void | stp_put16_le (unsigned short sh, const stp_vars_t *v) |
void | stp_put16_be (unsigned short sh, const stp_vars_t *v) |
void | stp_put32_le (unsigned int sh, const stp_vars_t *v) |
void | stp_put32_be (unsigned int sh, const stp_vars_t *v) |
void | stp_puts (const char *s, const stp_vars_t *v) |
void | stp_send_command (const stp_vars_t *v, const char *command, const char *format,...) |
void | stp_erputc (int ch) |
void | stp_eprintf (const stp_vars_t *v, const char *format,...) __attribute__((format(__printf__ |
void | stp_erprintf (const char *format,...) __attribute__((format(__printf__ |
void | stp_asprintf (char **strp, const char *format,...) __attribute__((format(__printf__ |
void | stp_catprintf (char **strp, const char *format,...) __attribute__((format(__printf__ |
unsigned long | stp_get_debug_level (void) |
void | stp_dprintf (unsigned long level, const stp_vars_t *v, const char *format,...) __attribute__((format(__printf__ |
void | stp_deprintf (unsigned long level, const char *format,...) __attribute__((format(__printf__ |
void | stp_init_debug_messages (stp_vars_t *v) |
void | stp_flush_debug_messages (stp_vars_t *v) |
void * | stp_malloc (size_t) |
void * | stp_zalloc (size_t) |
void * | stp_realloc (void *ptr, size_t) |
void | stp_free (void *ptr) |
size_t | stp_strlen (const char *s) |
char * | stp_strndup (const char *s, int n) |
char * | stp_strdup (const char *s) |
|
Definition at line 111 of file util.h. Referenced by canon_density(), canon_inks(), and canon_write(). |
|
Definition at line 106 of file util.h. Referenced by stp_color_register(), and stp_color_unregister(). |
|
Definition at line 124 of file util.h. Referenced by compute_spline_deltas_piecewise(), and interpolate_gamma_internal(). |
|
Definition at line 125 of file util.h. Referenced by interpolate_points(), stp_curve_create_from_file(), stp_curve_create_from_xmltree(), stp_curve_set_data(), stp_curve_set_data_points(), stp_xmltree_create_from_curve(), stpi_curve_check_parameters(), xml_doc_get_curve(), and xmldoc_create_from_curve(). |
|
Definition at line 110 of file util.h. Referenced by escp2_find_resolution(). |
|
Definition at line 107 of file util.h. Referenced by set_raw_ink_type(), stp_channel_set_black_channel(), stp_channel_set_cutoff_adjustment(), stp_channel_set_density_adjustment(), stp_channel_set_ink_limit(), stp_dither_set_inks_full(), stpi_dither_finalize_ranges(), and stpi_dither_set_ranges(). |
|
|
|
Definition at line 116 of file util.h. Referenced by stp_list_create(), stp_list_destroy(), stp_list_item_create(), stp_list_item_destroy(), and stp_list_node_free_data(). |
|
Definition at line 105 of file util.h. Referenced by setup_channel(), and stpi_compute_lut(). |
|
Definition at line 115 of file util.h. Referenced by escp2_set_remote_sequence(). |
|
Definition at line 117 of file util.h. Referenced by stp_module_init(), stp_module_open(), and stp_module_register(). |
|
Definition at line 123 of file util.h. Referenced by cx400_printer_init_func(), olympus_do_print(), olympus_get_cached_output(), olympus_get_model_capabilities(), p300_block_init_func(), p300_plane_end_func(), and p440_block_end_func(). |
|
Definition at line 119 of file util.h. Referenced by stp_verify_printer_params(), and stpi_paper_create(). |
|
Definition at line 118 of file util.h. Referenced by stp_path_search(), and stpi_path_check(). |
|
Definition at line 109 of file util.h. Referenced by pcl_printfunc(), pcl_string_to_val(), and pcl_val_to_string(). |
|
Definition at line 120 of file util.h. Referenced by stp_family_register(), stp_family_unregister(), and stp_initialize_printer_defaults(). |
|
Definition at line 108 of file util.h. Referenced by ps_imageable_area_internal(), ps_media_size_internal(), and ps_print_internal(). |
|
Definition at line 114 of file util.h. Referenced by finalize_row(). |
|
Definition at line 122 of file util.h. Referenced by stp_set_default_string_parameter(), stp_set_string_parameter(), stp_set_string_parameter_n(), stp_verify_parameter(), stp_verify_printer_params(), verify_curve_param(), verify_dimension_param(), verify_double_param(), verify_int_param(), and verify_string_param(). |
|
Definition at line 113 of file util.h. Referenced by calculate_pass_map(), and weave_parameters_by_row(). |
|
|
Value: do \ { \ if ((x)) \ stp_free((char *)(x)); \ ((x)) = NULL; \ } while (0) Definition at line 142 of file util.h. Referenced by clear_a_channel(), free_eventone_data(), free_lut(), invalidate_auxiliary_data(), invalidate_auxilliary_data(), shared_ed_deinitializer(), stp_dither_set_ink_spread(), stp_vars_destroy(), stpi_channel_clear(), stpi_dither_channel_destroy(), stpi_dither_free(), stpi_dither_set_ranges(), and stpi_paper_freefunc(). |
|
Definition at line 627 of file print-util.c. Referenced by add_to_row(), check_array(), check_color(), check_curve(), check_sequence(), compute_gcr_curve(), null_list(), null_printer(), null_vars(), stp_dither_init(), stp_malloc(), and stp_realloc(). |
|
|
|
|
|
Referenced by stp_color_register(), stp_color_unregister(), stp_family_register(), stp_family_unregister(), and stp_initialize_printer_defaults(). |
|
|
|
Referenced by set_raw_ink_type(). |
|
Referenced by stp_get_boolean_parameter(), stp_get_dimension_parameter(), stp_get_float_parameter(), stp_get_int_parameter(), stp_sequence_create_from_xmltree(), and stp_xml_parse_file(). |
|
Definition at line 287 of file print-util.c. |
|
Definition at line 379 of file print-util.c. References debug_msgbuf_t::bytes, debug_msgbuf_t::data, debug_msgbuf_t::odata, debug_msgbuf_t::ofunc, stp_eprintf(), stp_free(), stp_get_errdata(), stp_get_verified(), stp_set_errdata(), stp_set_errfunc(), stp_set_verified(), and stp_vars_t. Referenced by setup_inks(), and stpi_dither_set_ranges(). |
|
|
Definition at line 320 of file print-util.c. References stpi_debug_level, and stpi_init_debug(). Referenced by escp2_set_remote_sequence(), stp_printer_create_from_xmltree(), and stp_xml_process_paper(). |
|
Initialise libgimpprint. This function must be called prior to any other use of the library. It is responsible for loading modules and XML data and initialising internal data structures.
Definition at line 441 of file print-util.c. References bindtextdomain, stp_initialize_printer_defaults(), stp_module_init(), stp_module_load(), stp_xml_init_defaults(), stp_xml_preinit(), stpi_init_debug(), stpi_init_dither(), stpi_init_paper(), and stpi_init_printer(). |
|
Definition at line 365 of file print-util.c. References debug_msgbuf_t::bytes, debug_msgbuf_t::data, fill_buffer_writefunc(), debug_msgbuf_t::odata, debug_msgbuf_t::ofunc, stp_get_errdata(), stp_get_errfunc(), stp_get_verified(), stp_malloc(), stp_set_errdata(), stp_set_errfunc(), stp_set_verified(), and stp_vars_t. Referenced by setup_inks(), and stpi_dither_set_ranges(). |
|
|
Definition at line 1308 of file print-vars.c. References value_t::active, value_t::name, stp_vars::params, stp_get_parameter_list(), stp_list_get_start(), stp_list_item_destroy(), stp_list_item_get_data(), stp_list_item_next(), stp_list_item_t, stp_list_t, STP_PARAMETER_DEFAULTED, stp_parameter_find(), stp_parameter_list_destroy(), stp_parameter_list_t, STP_PARAMETER_TYPE_INVALID, and stp_vars_t. Referenced by escp2_job_end(), escp2_job_start(), escp2_print(), olympus_print(), ps_print_internal(), raw_print(), and stp_verify(). |
|
Definition at line 144 of file print-util.c. References BYTE, stp_putc(), and stp_vars_t. Referenced by canon_write(), cpx00_plane_init_func(), cpx00_printer_init_func(), p300_block_init_func(), p300_printer_init_func(), p400_block_init_func(), p400_printer_init_func(), p440_block_init_func(), p440_printer_init_func(), stp_send_command(), updp10_printer_end_func(), and updp10_printer_init_func(). |
|
Definition at line 137 of file print-util.c. References BYTE, stp_putc(), and stp_vars_t. Referenced by canon_cmd(), canon_write(), cpx00_plane_init_func(), cx400_printer_init_func(), p10_block_init_func(), and stp_send_command(). |
|
Definition at line 160 of file print-util.c. References BYTE, stp_putc(), and stp_vars_t. Referenced by p200_plane_init_func(), stp_send_command(), and updp10_printer_init_func(). |
|
Definition at line 151 of file print-util.c. References BYTE, stp_putc(), and stp_vars_t. Referenced by cpx00_plane_init_func(), stp_send_command(), and updp10_printer_init_func(). |
|
Definition at line 128 of file print-util.c. References stp_get_outdata(), stp_get_outfunc(), and stp_vars_t. Referenced by canon_cmd(), canon_write(), cpx00_printer_init_func(), cx400_printer_init_func(), p400_printer_init_func(), p440_printer_init_func(), ps_ascii85(), ps_hex(), send_extra_data(), stp_put16_be(), stp_put16_le(), stp_put32_be(), stp_put32_le(), and stp_send_command(). |
|
Definition at line 169 of file print-util.c. References stp_get_outdata(), stp_get_outfunc(), and stp_vars_t. Referenced by canon_init_resetPrinter(), ps_ascii85(), ps_print_internal(), stp_send_command(), and stpi_escp2_deinit_printer(). |
|
Definition at line 524 of file print-util.c. References stp_curve_compose(), stp_curve_create_from_string(), stp_curve_destroy(), stp_curve_is_piecewise(), stp_curve_resample(), and stp_curve_t. |
|
Definition at line 422 of file print-util.c. References stp_abort(), and stpi_realloc_func. Referenced by fill_buffer_writefunc(), insert_channel(), and stp_channel_add(). |
|
|
Set the output encoding. This function sets the encoding that all strings translated by gettext are output in. It is a wrapper around the gettext bind_textdomain_codeset() function.
Definition at line 514 of file print-util.c. |
|
|
Definition at line 475 of file print-util.c. Referenced by stp_strdup(). |
|
Definition at line 481 of file print-util.c. References stp_malloc(). Referenced by stp_strdup(). |
|
|
|
|