util.h

Sun, 02 May 2004 17:14:06 +0200

author
tuomov
date
Sun, 02 May 2004 17:14:06 +0200
changeset 72
7e69e5f7a013
parent 62
aae5facf9fc5
child 79
81e9a32b1c0c
permissions
-rw-r--r--

trunk: changeset 1462
Added -DHAVE_SNPRINTF when compiling with snprintf_2.2.

/*
 * libtu/util.h
 *
 * Copyright (c) Tuomo Valkonen 1999-2002. 
 *
 * You may distribute and modify this library under the terms of either
 * the Clarified Artistic License or the GNU LGPL, version 2.1 or later.
 */

#ifndef LIBTU_UTIL_H
#define LIBTU_UTIL_H

#include <stdarg.h>
#include <stdio.h>
#include <stdlib.h>

#include "types.h"
#include "optparser.h"

extern void libtu_init(const char *argv0);
extern void libtu_init_copt(int argc, char *const argv[],
                            const OptParserCommonInfo *cinfo);
                       

extern const char *prog_execname();

#endif /* LIBTU_UTIL_H */

mercurial