#ifdef __cplusplus
extern "C" {
#endif
#include <stdlib.h>
#include <stdio.h>
#include <string.h>
int ResetCounter(long counternr);
long ReadCounter(long counterno);
int SetCounterDebounceTime(long counterno, long debouncetime);
}