nova verzija tcp+udp->serial com

clubbing.h

Committer:
bosko001
Date:
2020-07-10
Revision:
26:c14d034d7459
Parent:
19:7bdb1a10043f

File content as of revision 26:c14d034d7459:

#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