/usr/include/Xm/ExtP.h is in libmotif-dev 2.3.4-13.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 | /*
* Motif
*
* Copyright (c) 1987-2012, The Open Group. All rights reserved.
*
* These libraries and programs are free software; you can
* redistribute them and/or modify them under the terms of the GNU
* Lesser General Public License as published by the Free Software
* Foundation; either version 2 of the License, or (at your option)
* any later version.
*
* These libraries and programs are distributed in the hope that
* they will be useful, but WITHOUT ANY WARRANTY; without even the
* implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
* PURPOSE. See the GNU Lesser General Public License for more
* details.
*
* You should have received a copy of the GNU Lesser General Public
* License along with these librararies and programs; if not, write
* to the Free Software Foundation, Inc., 51 Franklin Street, Fifth
* Floor, Boston, MA 02110-1301 USA
*
*/
#ifndef _XmExtP_h_
#define _XmExtP_h_
#include <Xm/Ext.h>
/************************************************************
* INCLUDE FILES
*************************************************************/
#if defined(hpux) && OS_MAJOR_VERSION < 10
#include <nl_ctype.h>
#endif
/************************************************************
* TYPEDEFS AND DEFINES
*************************************************************/
#if defined(__cplusplus)
extern "C" {
#endif
typedef void (*XmVoidFunc)(void);
typedef int (*XmIntFunc)(void);
typedef unsigned int (*XmUnsignedIntFunc)(void);
extern String xm_std_filter[], xm_std_constraint_filter[];
/************************************************************
* MACROS
*************************************************************/
#define streq(a, b) (((a) != NULL) && ((b) != NULL) && (strcmp((a), (b)) == 0))
#define ForAllChildren(w, childP) \
for ( (childP) = (w)->composite.children ; \
(childP) < (w)->composite.children + (w)->composite.num_children ; \
(childP)++ )
/*
* Math Stuff
*
* Some Systems define MIN and MAX so I have to undef them before I make
* my own definitions.
*/
#define XM_ICON_BUTTON_CLASS_NAME ("XmIconButton")
#define XM_EXT_LIST_CLASS_NAME ("XmExtendedList")
#define XM_ILIST_CLASS_NAME ("XmIList")
#define XM_EXT_18_LIST_CLASS_NAME ("XmExtended18List")
#define XM_I18LIST_CLASS_NAME ("XmI18List")
/************************************************************
* GLOBAL DECLARATIONS
*************************************************************/
void XmResolveAllPartOffsets64(WidgetClass, XmOffsetPtr*, XmOffsetPtr*);
void _XmMoveWidget(Widget, Position, Position);
void _XmResizeWidget(Widget, Dimension, Dimension, Dimension);
void _XmConfigureWidget(Widget, Position, Position,
Dimension, Dimension, Dimension);
XtGeometryResult _XmRequestNewSize(Widget, Boolean, Dimension,
Dimension,
Dimension *, Dimension *);
XtGeometryResult _XmHWQuery(Widget, XtWidgetGeometry*, XtWidgetGeometry *);
void _XmGetFocus(Widget, XEvent *, String *, Cardinal *);
void _XmFilterArgs(ArgList, Cardinal, String *,
ArgList *, Cardinal *);
void _XmSetValuesOnChildren(Widget, ArgList, Cardinal);
Boolean _XmGadgetWarning(Widget);
String _XmGetMBStringFromXmString(XmString);
/*
* Context Managment Routines.
*/
void _XmSetContextData(Widget, XContext, XtPointer);
void _XmDeleteContextData(Widget, XContext);
Boolean _XmGetContextData(Widget, XContext, XtPointer *);
Boolean _XmUtilIsSubclassByNameQ(Widget, XrmQuark);
void _XmInitialIzeConverters(Widget);
void _XmExtHighlightBorder(Widget);
void _XmExtUnhighlightBorder(Widget);
/************************************************************
* EXTERNAL DECLARATIONS
*************************************************************/
#if defined(__cplusplus)
}
#endif
#endif
|