1 /*************************************************************************** 2 * Pinfo is a ncurses based lynx style info documentation browser 3 * 4 * Copyright (C) 1999 Przemek Borys <pborys@dione.ids.pl> 5 * Copyright (C) 2005 Bas Zoetekouw <bas@debian.org> 6 * 7 * This program is free software; you can redistribute it and/or modify 8 * it under the terms of version 2 of the GNU General Public License as 9 * published by the Free Software Foundation. 10 * 11 * This program is distributed in the hope that it will be useful, but 12 * WITHOUT ANY WARRANTY; without even the implied warranty of 13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 14 * General Public License for more details. 15 * 16 * You should have received a copy of the GNU General Public License 17 * along with this program; if not, write to the Free Software 18 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 19 * USA 20 ***************************************************************************/ 21 22 #ifndef __INITIALIZELINKS_H 23 #define __INITIALIZELINKS_H 24 void freelinks (); /* frees node-links */ 25 /* initializes node links. */ 26 void initializelinks (char *line1, char *line2, int line); 27 /* 28 * scans for url end in given url-string. 29 * returns a pointer to the found place. 30 */ 31 char *findurlend (char *str); 32 /* scans for the beginning of username. Returns a pointer to it. */ 33 char *findemailstart (char *str); 34 /* strcmp, which is insensitive to whitespaces */ 35 int compare_tag_table_string (char *base, char *compared); 36 /* 37 * calculate length of visible part of string ('\t' included) between start and 38 * end. Returns length. 39 */ 40 int calculate_len (char *start, char *end); 41 #endif 42