1 /********************************************************************/
2 /*                                                                  */
3 /*  bst_rtl.h     Primitive actions for the byte string type.       */
4 /*  Copyright (C) 1989 - 2010  Thomas Mertes                        */
5 /*                                                                  */
6 /*  This file is part of the Seed7 Runtime Library.                 */
7 /*                                                                  */
8 /*  The Seed7 Runtime Library is free software; you can             */
9 /*  redistribute it and/or modify it under the terms of the GNU     */
10 /*  Lesser General Public License as published by the Free Software */
11 /*  Foundation; either version 2.1 of the License, or (at your      */
12 /*  option) any later version.                                      */
13 /*                                                                  */
14 /*  The Seed7 Runtime Library is distributed in the hope that it    */
15 /*  will be useful, but WITHOUT ANY WARRANTY; without even the      */
16 /*  implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR */
17 /*  PURPOSE.  See the GNU Lesser General Public License for more    */
18 /*  details.                                                        */
19 /*                                                                  */
20 /*  You should have received a copy of the GNU Lesser General       */
21 /*  Public License along with this program; if not, write to the    */
22 /*  Free Software Foundation, Inc., 51 Franklin Street,             */
23 /*  Fifth Floor, Boston, MA  02110-1301, USA.                       */
24 /*                                                                  */
25 /*  Module: Seed7 Runtime Library                                   */
26 /*  File: seed7/src/bst_rtl.h                                       */
27 /*  Changes: 2007, 2010  Thomas Mertes                              */
28 /*  Content: Primitive actions for the byte string type.            */
29 /*                                                                  */
30 /********************************************************************/
31 
32 void bstAppend (bstriType *const bstri_to, const_bstriType bstri_from);
33 bstriType bstCat (const const_bstriType bstri1, const const_bstriType bstri2);
34 intType bstCmp (const const_bstriType bstri1, const const_bstriType bstri2);
35 void bstCpy (bstriType *const dest, const const_bstriType source);
36 bstriType bstCreate (const const_bstriType source);
37 void bstDestr (const const_bstriType old_bstring);
38 intType bstHashCode (const const_bstriType bstri);
39 bstriType bstParse (const const_striType stri);
40 striType bstStr (const const_bstriType bstri);
41 bstriType bstTail (const const_bstriType stri, intType start);
42