callback.h 282 B

1234567891011121314151617
  1. #ifndef CALLBACK_H
  2. #define CALLBACK_H
  3. /*
  4. * All callbacks are char *func( char *msg );
  5. * INFO/BOX should always return NULL;
  6. */
  7. #define CALL_INFO 0
  8. #define CALL_BOX 1
  9. #define CALL_PASSWD 2
  10. #define NUM_CALLBACKS 3
  11. extern void vfs_set_callback( int num, void *func );
  12. #endif