10Sstevel@tonic-gate /* 2*3857Sstevel * Copyright 1998 Sun Microsystems, Inc. All rights reserved. 3*3857Sstevel * Use is subject to license terms. 40Sstevel@tonic-gate */ 50Sstevel@tonic-gate 60Sstevel@tonic-gate #pragma ident "%Z%%M% %I% %E% SMI" 70Sstevel@tonic-gate 80Sstevel@tonic-gate extern void charray_add(char ***a, char *s); 90Sstevel@tonic-gate extern void charray_add_uniq(char ***a, char *s); 100Sstevel@tonic-gate extern void charray_add_case_uniq(char ***a, char *s); 110Sstevel@tonic-gate extern void charray_merge(char ***a, char **s); 120Sstevel@tonic-gate extern void charray_free( char **array ); 130Sstevel@tonic-gate extern int charray_inlist( char **a, char *s); 140Sstevel@tonic-gate extern char ** charray_dup( char **a ); 150Sstevel@tonic-gate extern int charray_count( char **a); 160Sstevel@tonic-gate extern char ** str2charray( char *str, char *brkstr ); 170Sstevel@tonic-gate extern char ** str2charray2( char *str, char *brkstr, int *NbItems ); 180Sstevel@tonic-gate extern char * ch_strdup( char *s1 ); 190Sstevel@tonic-gate extern void charray_sort(char **a, int (*comp_func)(const char *, const char *)); 200Sstevel@tonic-gate extern int charray_pos(char **a, char *s); 210Sstevel@tonic-gate 220Sstevel@tonic-gate 230Sstevel@tonic-gate 24