aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorlepied1997-12-16 09:01:13 +0000
committerlepied1997-12-16 09:01:13 +0000
commit8e60a7fa9e921ec406640544aae1dd6373c33315 (patch)
tree05c4382a290444cedf75666a1497157bd5617298
parentbb0f9eaded2fd001b4df14d9f74003ccd9f6262d (diff)
downloadtkzinc-8e60a7fa9e921ec406640544aae1dd6373c33315.zip
tkzinc-8e60a7fa9e921ec406640544aae1dd6373c33315.tar.gz
tkzinc-8e60a7fa9e921ec406640544aae1dd6373c33315.tar.bz2
tkzinc-8e60a7fa9e921ec406640544aae1dd6373c33315.tar.xz
* corrections des prototypes pour supprimer les warnings de compilation
-rw-r--r--generic/perfos.h114
1 files changed, 114 insertions, 0 deletions
diff --git a/generic/perfos.h b/generic/perfos.h
new file mode 100644
index 0000000..74df033
--- /dev/null
+++ b/generic/perfos.h
@@ -0,0 +1,114 @@
+/*
+ *-----------------------------------------------------------------------
+ *-----------------------------------------------------------------------
+ *
+ * File: perfos.h
+ *
+ * Project: Hegias
+ *
+ * Abstract: Header for perf module.
+ *
+ *-----------------------------------------------------------------------
+ *-----------------------------------------------------------------------
+ */
+
+
+/*
+ *----------------- Distribution and Copyright --------------------------
+ *
+ * This software is copyright by the CENA/DGAC/FRANCE
+ * All rights reserved.
+ *
+ * No part of the material protected by this copyright notice
+ * may be reproduced or utilized for commercial use in any form
+ * without written permission of the copyright owner.
+ *
+ * It may be reproduced or utilized for R&D use in Non Profit
+ * Organization.
+ *
+ *-----------------------------------------------------------------------
+ */
+
+
+/*
+ *----------------- Disclaimer ------------------------------------------
+ *
+ * This software and its documentation are provided "AS IS" and
+ * without any expressed or implied warranties whatsoever.
+ * No warranties as to performance, merchantability, or fitness
+ * for a particular purpose exist.
+ *
+ * Because of the diversity of conditions and hardware under
+ * which this software may be used, no warranty of fitness for
+ * a particular purpose is offered. The user is advised to
+ * test the software thoroughly before relying on it. The user
+ * must assume the entire risk and liability of using this
+ * software.
+ *
+ * In no event shall any person or organization of people be
+ * held responsible for any direct, indirect, consequential
+ * or inconsequential damages or lost profits.
+ *
+ *-----------------------------------------------------------------------
+ */
+
+#ifndef _perfos_h
+#define _perfos_h
+
+#ifdef __CPLUSPLUS__
+extern "C" {
+#endif
+
+
+/*
+ *-----------------------------------------------------------------------
+ *
+ * Included files.
+ *
+ *-----------------------------------------------------------------------
+ */
+
+#include <stdio.h>
+#include <math.h>
+#include <sys/types.h>
+#include <sys/time.h>
+#include <sys/times.h>
+#include <X11/Xlib.h>
+
+
+typedef struct
+{
+ long current_correction;
+ long current_delay;
+ long total_delay;
+ int actions;
+ char *message;
+} ChronoRec, *Chrono;
+
+
+
+/*
+ *-----------------------------------------------------------------------
+ *
+ * Prototypes for exported functions.
+ *
+ *-----------------------------------------------------------------------
+ */
+
+void XStartChrono(Chrono /* chrono */, Display */* display */, Drawable /* window */);
+void XStopChrono(Chrono /* chrono */, Display */* display */, Drawable /* window */);
+void StartChrono(Chrono /* chrono */);
+void StopChrono(Chrono /* chrono */);
+void StartUCChrono(Chrono /* chrono */);
+void StopUCChrono(Chrono /* chrono */);
+Chrono NewChrono(char */* message */);
+void FreeChrono(Chrono /* chrono */);
+void PrintChronos(void);
+void RazChronos(void);
+
+
+#ifdef __CPLUSPLUS__
+}
+#endif
+
+#endif /* _perfos_h */