char * string) ;
extern char * _DtDbPathIdToString( DtDbPathId pathId) ;
+extern int _DtActDeleteChildRec( _DtActInvRecT *invp, _DtActChildRecT *childp);
+extern int _DtActionCommandInvoke(
+ long wintype,
+ char * cwdHost,
+ char * cwdDir,
+ char * execString,
+ char * termOpts,
+ char * execHost,
+ char * procId,
+ char * tmpFiles,
+ void (*success_proc)(),
+ void *success_data,
+ void (*failure_proc)(),
+ void *failure_data);
+
+
+
#define _MAX_MAP_ATTEMPTS 100 /* Maximum nuber of "MAPS" that will
be done. */
#define _DT_ACTION_MAX_CLOSE_TRIES 5
#ifndef P_tmpdir
#define P_tmpdir "/var/tmp"
#endif
+
+extern void _DtFreeRequest(ActionRequest *request );
+
+
/*******************************************************************************
* _DtBasename -- utiltiy function to return a pointer to a
* string containing the basename of a file name. It doesn't
unsigned long windowTypeMask);
static void _DtCmdInitializeErrorMessages(void);
+extern void _DtEnvMapForRemote (char *targetHost);
+extern void _DtEnvRestoreLocal (void);
+
/*
* Command invocatin error messages.
*/
extern void _DtDtsSeqReset(void);
extern int _DtDtsNextDCSeq(void);
extern int _DtDtsNextDASeq(void);
+extern int _DtDtsMMUnLoad(void);
+extern void _DtFreeActionDB(void);
char **_DtsDbListDb(void);
#include <Xm/Xm.h>
#include <Xm/DragDrop.h>
#include <Xm/DropTrans.h>
+#include <Xm/AtomMgr.h>
#include <Dt/UserMsg.h>
#include "Dnd.h"
#include "DndP.h"
#include <Xm/DragC.h>
#include <Xm/DragCP.h>
#include <Xm/DragOverSP.h>
+#include <Dt/Wsm.h>
#include "Dnd.h"
#include "DndP.h"
#include "DtSvcLock.h"
static void dndTopLevelEnterCallback(Widget, XtPointer, XtPointer);
static void dndTopLevelLeaveCallback(Widget, XtPointer, XtPointer);
+extern int _DtDndCountVarArgs(va_list vaList);
+extern void _DtDndArgListFromVarArgs(va_list vaList,
+ Cardinal maxArgs,
+ ArgList *argListReturn,
+ Cardinal *argCountReturn);
+extern void _XmDragOverChange(Widget w,
+ unsigned char dropSiteStatus);
+
/*
* Drag Initiator Resources
*/
XtRImmediate, (XtPointer)False },
};
+extern int _DtDndCountVarArgs(va_list vaList);
+extern void _DtDndArgListFromVarArgs(va_list vaList,
+ Cardinal maxArgs,
+ ArgList *argListReturn,
+ Cardinal *argCountReturn);
+
+
+
#undef Offset
/*
#include <Dt/UserMsg.h>
#include "DtSvcLock.h"
-extern char *strdup(const char *);
+extern int _MMWriteDb(DtDirPaths *dirs, int num_db, DtDtsDbDatabase **db_list,
+ const char *CacheFile);
+
+
#define PADMEM 10
#include <Dt/Dts.h>
#include "DtSvcLock.h"
-#if !defined(__linux__)
-extern char *strdup(const char *);
-#endif
+extern int _DtDtsMMUnLoad(void);
static int cur_dc_count = 0;
static int cur_da_count = 0;
static int mmaped_fd = 0;
static DtDtsMMHeader *head = 0;
+int _DtDtsMMUnLoad(void);
+
+extern void _DtDbFillVariables (char **line );
+extern void _DtDtsClear(void);
+
void *
_DtDtsMMGetPtr(int index)
{
#endif
-check_content(char *val1, char *val2)
+static int check_content(char *val1, char *val2)
{
char *v1 = strdup(val1);
char *v2 = strdup(val2);
cde_ft_field_value((*b)->fieldName));
}
-cde_da_compare(DtDtsDbRecord ** a, DtDtsDbRecord ** b)
+int cde_da_compare(DtDtsDbRecord ** a, DtDtsDbRecord ** b)
{
int results = ((*a)->recordName) - ((*b)->recordName);
#define QtB(a) _DtShmProtoAddStrtab(shm_handle, XrmQuarkToString(a), &isnew)
+/* DtsMM.c */
+extern int _DtDtsMMPathHash(DtDirPaths *dirs);
+
+
int
_MMWriteDb(DtDirPaths *dirs, int num_db, DtDtsDbDatabase **db_list,
const char *CacheFile)
}
-_DtActionCompareRecordBoson(
+intptr_t _DtActionCompareRecordBoson(
DtDtsMMRecord *record1,
DtDtsMMRecord *record2 )
{
#include <X11/Intrinsic.h>
#include <Saver.h>
#include <SaverP.h>
+#include <Dt/Action.h>
#include "DtSvcLock.h"
/*
/*
* Launch saver.
*/
- DtActionInvoke(wAction, saverAction, NULL, NULL,
- NULL, NULL, NULL, NULL, NULL, NULL);
+ DtActionInvoke(wAction, saverAction, NULL, 0,
+ NULL, NULL, NULL, 0, NULL, NULL);
/*
* Return array as state information.
#include <Tt/tttk.h>
#include <Dt/Wsm.h>
#include <Dt/WsmM.h>
+#include <Dt/SvcTT.h>
#include "WsmP.h"
#include <Dt/Service.h>
#include <Xm/Xm.h>
#include <Dt/Service.h>
#include <Dt/Wsm.h>
#include <Dt/WsmM.h>
+#include <Dt/SvcTT.h>
#include "WsmP.h"
#include "DtSvcLock.h"
return((void*)ptr);
}
-_DtShmProtoAddInttab(DtShmProtoInttab intlist, unsigned int keyin, int datain)
+int _DtShmProtoAddInttab(DtShmProtoInttab intlist, unsigned int keyin,
+ int datain)
{
intlist_t * ptr = (intlist_t *) intlist;
int ** data;