"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "src/aguix/util.h" between
worker-4.7.0.tar.bz2 and worker-4.8.0.tar.bz2

About: Worker is a file manager for the X Window System with the classical two panel interface.

util.h  (worker-4.7.0.tar.bz2):util.h  (worker-4.8.0.tar.bz2)
/* util.h /* util.h
* This file belongs to Worker, a file manager for UN*X/X11. * This file belongs to Worker, a file manager for UN*X/X11.
* Copyright (C) 2001-2017 Ralf Hoffmann. * Copyright (C) 2001-2021 Ralf Hoffmann.
* You can contact me at: ralf@boomerangsworld.de * You can contact me at: ralf@boomerangsworld.de
* or http://www.boomerangsworld.de/worker * or http://www.boomerangsworld.de/worker
* *
* This program is free software; you can redistribute it and/or modify * 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 * it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or * the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version. * (at your option) any later version.
* *
* This program is distributed in the hope that it will be useful, * This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of * but WITHOUT ANY WARRANTY; without even the implied warranty of
skipping to change at line 119 skipping to change at line 119
bool contains( const std::string &str, bool contains( const std::string &str,
const std::string &infix ); const std::string &infix );
bool char_in_string( const char ch, bool char_in_string( const char ch,
const std::string &str ); const std::string &str );
void rstrip( std::string &str ); void rstrip( std::string &str );
void rstrip( std::string &str, const std::string &strip_chars ); void rstrip( std::string &str, const std::string &strip_chars );
void strip( std::string &str ); void strip( std::string &str );
/* removes the character from the string. is utf8 safe */
std::string remove_char( const std::string &str,
char ch );
std::string timeToString( time_t t ); std::string timeToString( time_t t );
bool parseStringToTime( const std::string &time_string, bool parseStringToTime( const std::string &time_string,
time_t *return_time ); time_t *return_time );
std::string escape_uri( const std::string &uri ); std::string escape_uri( const std::string &uri );
std::string unescape_uri( const std::string &uri ); std::string unescape_uri( const std::string &uri );
typedef enum { typedef enum {
ESCAPE_JSON ESCAPE_JSON
} escape_type_t; } escape_type_t;
 End of changes. 2 change blocks. 
1 lines changed or deleted 5 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)