summaryrefslogtreecommitdiff
path: root/comm.c
diff options
context:
space:
mode:
authorKaleb Keithley <kaleb@freedesktop.org>2003-11-17 19:03:47 +0000
committerKaleb Keithley <kaleb@freedesktop.org>2003-11-17 19:03:47 +0000
commitef6bf0e77229ee34d91221ee4c5e5695ee083ed8 (patch)
treecd68ec2972de315b910ef8fd12c777e52a41ff82 /comm.c
parentefce7cb078dd34e9e9f7d6f5f5cdd0c8ef267691 (diff)
merge XFree86 4.3.0.1 to -CURRENT
Diffstat (limited to 'comm.c')
-rw-r--r--comm.c38
1 files changed, 17 insertions, 21 deletions
diff --git a/comm.c b/comm.c
index 3cd1e71..10494fb 100644
--- a/comm.c
+++ b/comm.c
@@ -26,6 +26,7 @@ other dealings in this Software without prior written authorization
from The Open Group.
*/
+/* $XFree86: xc/programs/editres/comm.c,v 1.5 2001/12/14 20:00:42 dawes Exp $ */
/*
@@ -42,6 +43,7 @@ from The Open Group.
#include <stdio.h>
#include <X11/Xmu/Error.h>
+#include <X11/Xmu/WinUtil.h>
#include "editresP.h"
@@ -52,29 +54,23 @@ from The Open Group.
static Atom atom_comm, atom_command, atom_resource_editor, atom_client_value;
static Atom atom_editres_protocol;
-/*
- * external function definitions.
- */
-
-extern void RebuildMenusAndLabel();
-extern ResIdent GetNewIdent();
-extern void SetMessage(), BuildVisualTree(),DisplayChild();
-extern char * GetFormattedSetValuesError(), *HandleFlashWidget();
-extern char * HandleGetResources(), *PrintSetValuesError();
-char * GetFailureMessage(), * ProtocolFailure();
-extern int HandleXErrors();
-extern void SetEntriesSensitive();
-
-static void TellUserAboutMessage(), BuildHeader(), FreeEvent();
-static Event * BuildEvent();
-static char * DispatchEvent();
-static void GetClientValue();
-static void ClientTimedOut(), LoseSelection(), SelectionDone();
-static Boolean ConvertCommand();
-
-
extern Widget CM_entries[NUM_CM_ENTRIES], TM_entries[NUM_TM_ENTRIES];
+static void ClientTimedOut ( XtPointer data, XtIntervalId * id );
+static void TellUserAboutMessage ( Widget label, ResCommand command );
+static Boolean ConvertCommand ( Widget w, Atom * selection, Atom * target,
+ Atom * type_ret, XtPointer *value_ret,
+ unsigned long * length_ret, int * format_ret );
+static void SelectionDone ( Widget w, Atom *sel, Atom *targ );
+static void LoseSelection ( Widget w, Atom * sel );
+static void GetClientValue ( Widget w, XtPointer data, Atom *selection,
+ Atom *type, XtPointer value,
+ unsigned long *length, int * format );
+static void BuildHeader ( CurrentClient * client_data );
+static Event * BuildEvent ( ProtocolStream * stream );
+static void FreeEvent ( Event * event );
+static char * DispatchEvent ( Event * event );
+
/* Function Name: ClientTimedOut