nova verzija tcp+udp->serial com

clubbing.h

Committer:
bosko001
Date:
2020-05-23
Revision:
19:7bdb1a10043f
Parent:
9:893843262a1f

File content as of revision 19:7bdb1a10043f:

#ifndef CLUBBING_H
#define CLUBBING_H

typedef  void(*PFV)(void);

#define IN_RANGE( MIN, a, MAX ) ((a >= MIN) ?  (( a<=MAX) ? 1:0) : 0)
#define F fflush(stdout);

int test_num( const char *s );
int test_ip( const char *s );

void Printf_niz( const char *s, const char *niz, int val );
void P_int(const char *s, int i );
void P_str(const char *s, const char *p );


#endif