mirror of
https://github.com/MidnightCommander/mc
synced 2024-12-22 20:36:50 +03:00
Fixed number of callbacks, added prototype of function to set
callback. Nothing important.
This commit is contained in:
parent
a804d72b07
commit
e6e9f038ed
@ -1,9 +1,17 @@
|
||||
#ifndef CALLBACK_H
|
||||
#define CALLBACK_H
|
||||
|
||||
/*
|
||||
* Warning: there's better version of this file somewhere else.
|
||||
* All callbacks are char *func( char *msg );
|
||||
* INFO/BOX should always return NULL;
|
||||
*/
|
||||
|
||||
#define CALL_INFO 0
|
||||
#define CALL_BOX 1
|
||||
#define CALL_PASSWD 2
|
||||
|
||||
#define NUM_CALLBACKS 4
|
||||
#define NUM_CALLBACKS 3
|
||||
|
||||
extern void vfs_set_callback( int num, void *func );
|
||||
|
||||
#endif
|
||||
|
Loading…
Reference in New Issue
Block a user