Initial import of the CDE 2.1.30 sources from the Open Group.

This commit is contained in:
Peter Howkins
2012-03-10 18:21:40 +00:00
commit 83b6996daa
18978 changed files with 3945623 additions and 0 deletions

View File

@@ -0,0 +1,77 @@
/* $XConsortium: PsubUtilI.h /main/3 1996/08/12 18:41:41 cde-hp $ */
/*
* DtPrint/PsubUtilI.h
*/
/*
* (c) Copyright 1996 Digital Equipment Corporation.
* (c) Copyright 1996 Hewlett-Packard Company.
* (c) Copyright 1996 International Business Machines Corp.
* (c) Copyright 1996 Sun Microsystems, Inc.
* (c) Copyright 1996 Novell, Inc.
* (c) Copyright 1996 FUJITSU LIMITED.
* (c) Copyright 1996 Hitachi.
*/
#ifndef _DtPsubUtilI_h
#define _DtPsubUtilI_h
#include <Dt/Print.h>
#ifdef __cplusplus
extern "C" {
#endif
/*
* ------------------------------------------------------------------------
* Type Definitions
*
*/
typedef enum {
DtPRINT_DEC_NET,
DtPRINT_TCP_IPC,
DtPRINT_NET_UNSPECIFIED
} DtPrintSpecNet;
/*
* ------------------------------------------------------------------------
* Private Function Declarations
*
*/
String _DtPrintCreateXPrinterSpecifier(
String printer_name,
String host_name,
DtPrintSpecNet spec_net,
int display_num,
int screen_num);
void _DtPrintFreeStringList(
String* string_list);
String _DtPrintGetDefaultXPrinterName(
Widget w);
String* _DtPrintGetXpPrinterList(
Widget w);
String* _DtPrintGetXpServerList(
Widget w);
void _DtPrintParseXDisplaySpecifier(
const String display_spec,
String* host_name,
DtPrintSpecNet* spec_net,
int* display_num,
int* screen_num);
void _DtPrintParseXPrinterSpecifier(
const String specifier,
String* printer_name,
String* display_spec);
XtEnum _DtPrintVerifyXPrinter(
Widget w,
String printer_spec,
String* new_printer_spec,
Display** new_display,
XPContext* new_context);
#ifdef __cplusplus
} /* Close scope of 'extern "C"' declaration which encloses file. */
#endif
#endif /* _DtPsubUtilI_h */
/* DON'T ADD ANYTHING AFTER THIS #endif */