| 1 |
/* $XConsortium: utm_send.h /main/5 1995/07/15 20:39:04 drk $ */ |
| 2 |
/* |
| 3 |
* Motif |
| 4 |
* |
| 5 |
* Copyright (c) 1987-2012, The Open Group. All rights reserved. |
| 6 |
* |
| 7 |
* These libraries and programs are free software; you can |
| 8 |
* redistribute them and/or modify them under the terms of the GNU |
| 9 |
* Lesser General Public License as published by the Free Software |
| 10 |
* Foundation; either version 2 of the License, or (at your option) |
| 11 |
* any later version. |
| 12 |
* |
| 13 |
* These libraries and programs are distributed in the hope that |
| 14 |
* they will be useful, but WITHOUT ANY WARRANTY; without even the |
| 15 |
* implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR |
| 16 |
* PURPOSE. See the GNU Lesser General Public License for more |
| 17 |
* details. |
| 18 |
* |
| 19 |
* You should have received a copy of the GNU Lesser General Public |
| 20 |
* License along with these librararies and programs; if not, write |
| 21 |
* to the Free Software Foundation, Inc., 51 Franklin Street, Fifth |
| 22 |
* Floor, Boston, MA 02110-1301 USA |
| 23 |
* |
| 24 |
*/ |
| 25 |
/* |
| 26 |
* HISTORY |
| 27 |
*/ |
| 28 |
|
| 29 |
/* |
| 30 |
* This is used to pass the data from the request |
| 31 |
* setup routine to the callback routine where the |
| 32 |
* data is actually transferred. |
| 33 |
*/ |
| 34 |
typedef struct _UTMPackageRec { |
| 35 |
int fmt; |
| 36 |
Atom target; |
| 37 |
unsigned long len; |
| 38 |
XtPointer param; |
| 39 |
XtCallbackProc doneProc; |
| 40 |
XtPointer closure; |
| 41 |
} UTMPackageRec; |
| 42 |
|
| 43 |
|
| 44 |
extern void UTMSendMessage( |
| 45 |
Widget, Atom, Atom, XtPointer, unsigned long, int, |
| 46 |
XtCallbackProc, XtPointer, Time |
| 47 |
); |
| 48 |
|
| 49 |
extern void UTMDestinationProc ( |
| 50 |
Widget, XtPointer, XtPointer |
| 51 |
); |