/*
 ******************************************************************************
 *  Copyright 1994 DeltaLink bv. All Rights Reserved.
 ******************************************************************************
 *
 * DeltaLink General Utilities Header file
 *
 * File: g_util.h
 *
 */
#ifndef _GUTILS_INCLUDED /* { */
#define _GUTILS_INCLUDED 1

/*
 * defines for the trim functionality
 */
#define TRIM_LEFT        1
#define TRIM_RIGHT       2
#define TRIM_BOTH        3

int     ip2bin            ( unsigned char *, const char *);
int     bin2ip            ( char *, const unsigned char *);

char *  bin2hex           ( char *, char *, int);
char *  hex2bin           ( char *, char *, int);

char    *strlfix          ( char *, char *, int);
char    *strrfix          ( char *, char *, int);
char    *strtrim          ( char *, char *, char);
char    *strbreak         ( char **, const char *, char *);

void 		reverse						( char *, char *, char);

#endif /* _GUTILS_INCLUDED */
