summaryrefslogtreecommitdiff
path: root/ucspi-tcp-0.88/str.h
blob: ab4aedda03c2601c088806253625dc238192664c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#ifndef STR_H
#define STR_H

extern unsigned int str_copy(char *,char *);
extern int str_diff(char *,char *);
extern int str_diffn(char *,char *,unsigned int);
extern unsigned int str_len(char *);
extern unsigned int str_chr(char *,int);
extern unsigned int str_rchr(char *,int);
extern int str_start(char *,char *);

#define str_equal(s,t) (!str_diff((s),(t)))

#endif