"Fossies" - the Fresh Open Source Software Archive

Member "dnotify-0.18.0/src/dnotify.h" (6 Oct 2004, 1285 Bytes) of package /linux/privat/old/dnotify-0.18.0.tar.gz:


As a special service "Fossies" has tried to format the requested source page into HTML format using (guessed) C and C++ source code syntax highlighting (style: standard) with prefixed line numbers and code folding option. Alternatively you can here view or download the uninterpreted source code file. For more information about "dnotify.h" see the Fossies "Dox" file reference documentation.

    1 /* dnotify.h - Headers for dnotify
    2  *
    3  * Copyright (C) 2002  Oskar Liljeblad
    4  *
    5  * This program is free software; you can redistribute it and/or modify
    6  * it under the terms of the GNU General Public License as published by
    7  * the Free Software Foundation; either version 2 of the License, or
    8  * (at your option) any later version.
    9  *
   10  * This program is distributed in the hope that it will be useful,
   11  * but WITHOUT ANY WARRANTY; without even the implied warranty of
   12  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
   13  * GNU Library General Public License for more details.
   14  *
   15  * You should have received a copy of the GNU General Public License
   16  * along with this program; if not, write to the Free Software
   17  * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
   18  */
   19 
   20 #ifndef DNOTIFY_H
   21 #define DNOTIFY_H
   22 
   23 #include <stdarg.h>
   24 #include <stdint.h>
   25 
   26 /* string.c */
   27 char *expand_braces(char *spec, const char *repl);
   28 char *concat_dirname(const char *file1, char *file2);
   29 int parse_int32(const char *instr, int32_t *outint);
   30 
   31 /* error.c */
   32 #define errstr strerror(errno)
   33 extern int quiet;
   34 void warn(const char *msg, ...) __attribute__ ((format (printf, 1, 2)));
   35 void die(const char *msg, ...) __attribute__ ((noreturn, format (printf, 1, 2)));
   36 
   37 #endif