Last change
on this file since 75 was 14, checked in by lstark, 16 years ago |
first version of hvcontrol added
|
File size:
1.0 KB
|
Line | |
---|
1 |
|
---|
2 | #ifndef UTILITIES_H_SEEN
|
---|
3 | #define UTILITIES_H_SEEN
|
---|
4 |
|
---|
5 | #define SECONDS_DAY 86400
|
---|
6 | #define SECONDS_HOUR 3600
|
---|
7 | #define SECONDS_MINUTE 60
|
---|
8 |
|
---|
9 | #include <string.h>
|
---|
10 | #include <stdio.h>
|
---|
11 | #include <ctype.h>
|
---|
12 | #include <sys/stat.h>
|
---|
13 | #include <time.h>
|
---|
14 | #include <sys/time.h>
|
---|
15 | #include <math.h>
|
---|
16 |
|
---|
17 | #include "Types.h"
|
---|
18 |
|
---|
19 | void ParseInput(char* Pc, int* Nparam, char Param[][MAX_COM_SIZE]);
|
---|
20 | int Match(char *str, char *cmd);
|
---|
21 | char* Chop(char str[]);
|
---|
22 | int MakeDir(char *Dir, char *RunDate);
|
---|
23 | void GetUTCSecondsOfDay(double* t);
|
---|
24 | void GetLocalSecondsOfDay(double* t);
|
---|
25 | void GetLocalDay(int* t);
|
---|
26 | double GetDiffTime(time_t* StartT);
|
---|
27 | long int GetMicroSeconds();
|
---|
28 |
|
---|
29 | void PrintByteBin(unsigned char i);
|
---|
30 | void sPrintByteBin(unsigned char i, char* str);
|
---|
31 | void PrintWordBin(unsigned short i);
|
---|
32 | void sPrintWordBin(unsigned short i, char* str);
|
---|
33 | int sPrintBin2Dec(const char* bs, unsigned int* result);
|
---|
34 | int Bin2Dec(int bin);
|
---|
35 | int Bin2Dec(const char *bs);
|
---|
36 | int sPrintHex2Dec(const char* xs, unsigned int* result);
|
---|
37 | int IsNoDigit(const char* str);
|
---|
38 | void SignalHandler(int Signal);
|
---|
39 |
|
---|
40 | #endif
|
---|
Note:
See
TracBrowser
for help on using the repository browser.