Initial import of the CDE 2.1.30 sources from the Open Group.
This commit is contained in:
77
cde/lib/DtPrint/PsubUtilI.h
Normal file
77
cde/lib/DtPrint/PsubUtilI.h
Normal 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 */
|
||||
Reference in New Issue
Block a user