/***************************************************************************
* Pinfo is a ncurses based lynx style info documentation browser
*
* Copyright (C) 1999 Przemek Borys <pborys@dione.ids.pl>
* Copyright (C) 2005 Bas Zoetekouw <bas@debian.org>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of version 2 of the GNU General Public License as
* published by the Free Software Foundation.
*
* 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., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301
* USA
***************************************************************************/
#ifndef __INITIALIZELINKS_H
#define __INITIALIZELINKS_H
void freelinks (); /* frees node-links */
/* initializes node links. */
void initializelinks (char *line1, char *line2, int line);
/*
* scans for url end in given url-string.
* returns a pointer to the found place.
*/
char *findurlend (char *str);
/* scans for the beginning of username. Returns a pointer to it. */
char *findemailstart (char *str);
/* strcmp, which is insensitive to whitespaces */
int compare_tag_table_string (char *base, char *compared);
/*
* calculate length of visible part of string ('\t' included) between start and
* end. Returns length.
*/
int calculate_len (char *start, char *end);
#endif
Before first commit, do not forget to setup your git environment:
git config --global user.name "your_name_here"
git config --global user.email "your@email_here"
Clone this repository using HTTP(S):
git clone https://code.reversed.top/user/xaizek/pinfo
Clone this repository using ssh (do not forget to upload a key first):
git clone ssh://rocketgit@code.reversed.top/user/xaizek/pinfo
You are allowed to anonymously push to this repository.
This means that your pushed commits will automatically be transformed into a
pull request:
... clone the repository ...
... make some changes and some commits ...
git push origin master