/* @(#)str_extern.h 1.4 95/09/16 */

/*
 * Copyright (c) 1994, 1995 by Wayne C. Gramlich.  All rights reserved.
 *
 * Permission to use, copy, modify, distribute, and sell this software
 * for any purpose is hereby granted without fee provided that the above
 * copyright notice and this permission are retained.  The author makes
 * no representations about the suitability of this software for any purpose.
 * It is provided "as is" without express or implied warranty.
 */

#if !defined(STR_EXTERN_H)
#define STR_EXTERN_H

#include <stdio.h>
#include "str_typedef.h"

extern Str str_allocate(unsigned size);
extern Str str_break(Str, Str);
extern int str_case_equal(Str, Str);
extern int str_case_equal_max(Str, Str, unsigned);
extern Str str_chr_reverse_search(Str, Chr);
extern Str str_chr_search(Str, Chr);
extern Str str_copy(Str);
extern Str str_copy_max(Str, unsigned);
extern Str str_create_empty(void);
extern Str str_encode(Str);
extern int str_equal(Str, Str);
extern int str_equal_max(Str, Str, unsigned);
extern void str_free(Str);
extern int str_is_empty(Str);
extern int str_parse_decimal(Str);
extern Str str_printf(char *, ...);
extern Str str_restore(FILE *);
extern void str_save(Str, FILE *);
extern unsigned str_size(Str);
extern Str str_span(Str, Str);
extern int str_weak_equal(Str, Str);
extern void str_write(Str, FILE *);

#endif /* !defined(STR_EXTERN_H) */
