File: message.h

package info (click to toggle)
evms 2.5.2-1.sarge2
  • links: PTS
  • area: main
  • in suites: sarge
  • size: 14,248 kB
  • ctags: 15,488
  • sloc: ansic: 201,340; perl: 12,421; sh: 4,262; makefile: 1,516; yacc: 316; sed: 16
file content (53 lines) | stat: -rw-r--r-- 1,921 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
/*
 *
 *   (C) Copyright IBM Corp. 2001, 2003
 *
 *   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
 *   the Free Software Foundation; either version 2 of the License, or
 *   (at your option) any later version.
 *
 *   This program is distributed in the hope that it will be useful,
 *   but WITHOUT ANY WARRANTY;  without even the implied warranty of
 *   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See
 *   the GNU General Public License for more details.
 *
 *   You should have received a copy of the GNU General Public License
 *   along with this program;  if not, write to the Free Software
 *   Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
 *
 *
 */

// Global data exported by message.c

extern ui_callbacks_t * ui_callbacks;

extern char message_buffer[MAX_USER_MESSAGE_LEN + 1024];

/*
 * Global functions exported by message.c
 */

/* External APIs provided by message.c */

/* None */

/* Internal functions to share with other Engine source modules */

extern int engine_user_message(int             * answer,
                               char          * * choice_text,
                               char            * message_fmt,
                               ...) __PRINTF_ATTRIBUTE__(3,4);

extern int plugin_user_message(plugin_record_t * plugin,
                               int             * answer,
                               char          * * choice_text,
                               char            * message_fmt,
                               ...) __PRINTF_ATTRIBUTE__(4,5);

extern int plugin_user_communication(void                * object_instance,
                                     char                * message_text,
                                     option_desc_array_t * options);

extern int plugin_progress(progress_t * progress);