From 8e60a7fa9e921ec406640544aae1dd6373c33315 Mon Sep 17 00:00:00 2001 From: lepied Date: Tue, 16 Dec 1997 09:01:13 +0000 Subject: * corrections des prototypes pour supprimer les warnings de compilation --- generic/perfos.h | 114 +++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 114 insertions(+) create mode 100644 generic/perfos.h (limited to 'generic') 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 +#include +#include +#include +#include +#include + + +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 */ -- cgit v1.1