~ubuntu-branches/ubuntu/precise/nvidia-settings/precise-proposed

1 by Randall Donald
Import upstream version 1.0
1
/*
2
 * nvidia-settings: A tool for configuring the NVIDIA X driver on Unix
3
 * and Linux systems.
4
 *
5
 * Copyright (C) 2004 NVIDIA Corporation.
6
 *
1.1.20 by Alberto Milone
Import upstream version 295.20
7
 * This program is free software; you can redistribute it and/or modify it
8
 * under the terms and conditions of the GNU General Public License,
9
 * version 2, as published by the Free Software Foundation.
1 by Randall Donald
Import upstream version 1.0
10
 *
1.1.20 by Alberto Milone
Import upstream version 295.20
11
 * This program is distributed in the hope that it will be useful, but WITHOUT
12
 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
13
 * FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License for
14
 * more details.
1 by Randall Donald
Import upstream version 1.0
15
 *
16
 * You should have received a copy of the GNU General Public License
1.1.20 by Alberto Milone
Import upstream version 295.20
17
 * along with this program.  If not, see <http://www.gnu.org/licenses>.
1 by Randall Donald
Import upstream version 1.0
18
 */
19
20
#ifndef __MSG_H__
21
#define __MSG_H__
22
23
#include <stdarg.h>
1.1.2 by Randall Donald
Import upstream version 1.0+20060516
24
#include <stdio.h>
1 by Randall Donald
Import upstream version 1.0
25
1.3.4 by Alberto Milone
Import upstream version 331.20
26
#include "common-utils.h"
27
28
void nv_error_msg(const char*, ...)                            NV_ATTRIBUTE_PRINTF(1, 2);
29
void nv_deprecated_msg(const char*, ...)                       NV_ATTRIBUTE_PRINTF(1, 2);
30
void nv_warning_msg(const char*, ...)                          NV_ATTRIBUTE_PRINTF(1, 2);
31
void nv_info_msg(const char*, const char*, ...)                NV_ATTRIBUTE_PRINTF(2, 3);
32
void nv_msg(const char*, const char*, ...)                     NV_ATTRIBUTE_PRINTF(2, 3);
33
void nv_msg_preserve_whitespace(const char*, const char*, ...) NV_ATTRIBUTE_PRINTF(2, 3);
1.1.1 by Randall Donald
Import upstream version 1.0+3
34
1 by Randall Donald
Import upstream version 1.0
35
#endif /* __MSG_H__ */