Logo Search packages:      
Sourcecode: latex2rtf version File versions  Download package

utils.h

/* utils.h - handy strings routines

Copyright (C) 1995-2002 The Free Software Foundation

This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License
as published by the Free Software Foundation; either version 2
of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
GNU General Public License for more details.

You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.

This file is available from http://sourceforge.net/projects/latex2rtf/

Authors:
    1995-1997 Ralf Schlatterbeck
    1998-2000 Georg Lehner
    2001-2003 Scott Prahl
*/

int     odd(int n);
int     even(int n);
double  my_rint(double nr);
int     strstr_count(const char *s, char *t);
char *  my_strndup(const char *s, size_t n);
char *  strdup_together(const char *s, const char *t);
char *  strdup_together3(const char *s, const char *t, const char *u);
char *  strdup_together4(const char *s, const char *t, const char *u, const char *v);
char *      strdup_noblanks(const char *s);
char *      strdup_nocomments(const char *s);
char *      strdup_nobadchars(const char *s);
char *      strdup_noendblanks(const char *s);
char *  strdup_printable(const char *s);
void    strncpy_printable(char* dst, char *src, int n);
char *      ExtractLabelTag(const char *text);
char *      ExtractAndRemoveTag(char *tag, char *text);
char *  keyvalue_pair(char *t, char **key, char **value);
int     getStringDimension(char *s);
char *  getStringBraceParam(char **s);
void    show_string(int level, const char *s, const char *label);

Generated by  Doxygen 1.6.0   Back to index