#ifndef TOOLLIB_VSTRING_H
#define TOOLLIB_VSTRING_H

/*
    Copyright © 1995-2001, The AROS Development Team. All rights reserved.
    $Id: vstring.h 12561 2001-10-30 20:02:33Z chodorowski $
*/

#ifndef TOOLLIB_TOOLLIB_H
#   include <toollib/toollib.h>
#endif

typedef struct _String
{
    char * buffer;
    int    len;
    int    maxlen;
}
* String;

extern String VS_New	       PARAMS ((const char * str));
extern void   VS_Delete        PARAMS ((String str));
extern void   VS_Clear	       PARAMS ((String str));
extern void   VS_AppendChar    PARAMS ((String str, int c));
extern void   VS_AppendString  PARAMS ((String str, const char * app));
extern void   VS_ToUpper       PARAMS ((String str));
extern void   VS_ToLower       PARAMS ((String str));
extern String VS_SubString     PARAMS ((const char * str, int begin, int len));

extern char * strdupsub   PARAMS((const char * str, int begin, int len));
extern char * stripquotes PARAMS((const char * str));
extern char * stripws	  PARAMS((const char * str));
extern char * stripwsq	  PARAMS((const char * str));
extern char * strupper	  PARAMS((char * str));
extern char * strlower	  PARAMS((char * str));

#endif /* TOOLLIB_VSTRING_H */
