bosko lekovic
/
ETHtoCOM_10
nova verzija tcp+udp->serial com
clubbing.h@19:7bdb1a10043f, 2020-05-23 (annotated)
- Committer:
- bosko001
- Date:
- Sat May 23 00:30:00 2020 +0200
- Revision:
- 19:7bdb1a10043f
- Parent:
- 9:893843262a1f
prva verzija, rade serial i tcp klijenti
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
bosko001 | 2:45b351b4fc2a | 1 | #ifndef CLUBBING_H |
bosko001 | 2:45b351b4fc2a | 2 | #define CLUBBING_H |
bosko001 | 2:45b351b4fc2a | 3 | |
bosko001 | 2:45b351b4fc2a | 4 | typedef void(*PFV)(void); |
bosko001 | 2:45b351b4fc2a | 5 | |
bosko001 | 9:893843262a1f | 6 | #define IN_RANGE( MIN, a, MAX ) ((a >= MIN) ? (( a<=MAX) ? 1:0) : 0) |
bosko001 | 19:7bdb1a10043f | 7 | #define F fflush(stdout); |
bosko001 | 2:45b351b4fc2a | 8 | |
bosko001 | 5:c9a908749d4c | 9 | int test_num( const char *s ); |
bosko001 | 5:c9a908749d4c | 10 | int test_ip( const char *s ); |
bosko001 | 2:45b351b4fc2a | 11 | |
bosko001 | 5:c9a908749d4c | 12 | void Printf_niz( const char *s, const char *niz, int val ); |
bosko001 | 5:c9a908749d4c | 13 | void P_int(const char *s, int i ); |
bosko001 | 3:1196befeace0 | 14 | void P_str(const char *s, const char *p ); |
bosko001 | 3:1196befeace0 | 15 | |
bosko001 | 2:45b351b4fc2a | 16 | |
bosko001 | 2:45b351b4fc2a | 17 | #endif |