2001-11-25 01:41:16 +01:00
|
|
|
/*
|
2002-02-27 09:49:48 +01:00
|
|
|
* @(#) $Header: /tmp/cvs/mysql-admutils/mysql-admutils.h,v 1.2 2002-02-27 08:49:48 knutpett Exp $
|
2001-11-25 01:41:16 +01:00
|
|
|
*
|
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef MYSQL_ADMUTILS_H
|
|
|
|
#define MYSQL_ADMUTILS_H
|
|
|
|
|
|
|
|
extern char *program_name;
|
|
|
|
|
|
|
|
/* defined in pwfile.c */
|
|
|
|
extern const char *db_server;
|
|
|
|
extern const char *db_user;
|
|
|
|
extern const char *db_passwd;
|
|
|
|
extern const char *db_name;
|
|
|
|
|
|
|
|
extern int
|
|
|
|
wrong_use(char *format, ...);
|
|
|
|
|
|
|
|
extern int
|
|
|
|
fatal_error(char *format, ...);
|
|
|
|
|
|
|
|
extern int
|
|
|
|
owner(char *name);
|
|
|
|
|
|
|
|
extern int
|
|
|
|
version(void);
|
|
|
|
|
|
|
|
extern int
|
|
|
|
read_config_file(void);
|
|
|
|
|
|
|
|
|
|
|
|
#ifdef _mysql_h
|
|
|
|
|
|
|
|
extern int
|
|
|
|
dberror(MYSQL *pmysql, char *format, ...);
|
|
|
|
|
|
|
|
extern int
|
|
|
|
reload(MYSQL *pmysql);
|
|
|
|
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#endif /* MYSQL_ADMUTILS_H */
|