#ifndef CLIB_TIMER_PROTOS_H
#define CLIB_TIMER_PROTOS_H

/*
    *** Automatically generated from '/home/aros/ABIv11/AROS/AROS/rom/timer/timer.conf'. Edits will be lost. ***
    Copyright (C) 1995-2026, The AROS Development Team. All rights reserved.
*/

#include <aros/libcall.h>

#include <devices/timer.h>

__BEGIN_DECLS


#if !defined(__TIMER_LIBAPI__) || (41 <= __TIMER_LIBAPI__)
AROS_LP2(void, AddTime,
         AROS_LPA(struct timeval *, dest, A0),
         AROS_LPA(struct timeval *, src, A1),
         LIBBASETYPEPTR, TimerBase, 7, Timer
);

#endif /* !defined(__TIMER_LIBAPI__) || (41 <= __TIMER_LIBAPI__) */

#if !defined(__TIMER_LIBAPI__) || (41 <= __TIMER_LIBAPI__)
AROS_LP2(void, SubTime,
         AROS_LPA(struct timeval *, dest, A0),
         AROS_LPA(struct timeval *, src, A1),
         LIBBASETYPEPTR, TimerBase, 8, Timer
);

#endif /* !defined(__TIMER_LIBAPI__) || (41 <= __TIMER_LIBAPI__) */

#if !defined(__TIMER_LIBAPI__) || (41 <= __TIMER_LIBAPI__)
AROS_LP2(LONG, CmpTime,
         AROS_LPA(struct timeval *, dest, A0),
         AROS_LPA(struct timeval *, src, A1),
         LIBBASETYPEPTR, TimerBase, 9, Timer
);

#endif /* !defined(__TIMER_LIBAPI__) || (41 <= __TIMER_LIBAPI__) */

#if !defined(__TIMER_LIBAPI__) || (41 <= __TIMER_LIBAPI__)
AROS_LP1(ULONG, ReadEClock,
         AROS_LPA(struct EClockVal *, dest, A0),
         LIBBASETYPEPTR, TimerBase, 10, Timer
);

#endif /* !defined(__TIMER_LIBAPI__) || (41 <= __TIMER_LIBAPI__) */

#if !defined(__TIMER_LIBAPI__) || (41 <= __TIMER_LIBAPI__)
AROS_LP1(void, GetSysTime,
         AROS_LPA(struct timeval *, dest, A0),
         LIBBASETYPEPTR, TimerBase, 11, Timer
);

#endif /* !defined(__TIMER_LIBAPI__) || (41 <= __TIMER_LIBAPI__) */

#if !defined(__TIMER_LIBAPI__) || (41 <= __TIMER_LIBAPI__)
AROS_LP1(void, GetUpTime,
         AROS_LPA(struct timeval *, dest, A0),
         LIBBASETYPEPTR, TimerBase, 12, Timer
);

#endif /* !defined(__TIMER_LIBAPI__) || (41 <= __TIMER_LIBAPI__) */

__END_DECLS

#endif /* CLIB_TIMER_PROTOS_H */
