home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
NeXTSTEP 3.0
/
NeXTSTEP3.0.iso
/
NextDeveloper
/
Headers
/
bsd
/
dev
/
voldev.h
< prev
next >
Wrap
Text File
|
1992-07-29
|
1KB
|
59 lines
/* @(#)voldev.h 2.0 03/19/90 (c) 1990 NeXT */
/*
* HISTORY
* 19-Sep-90 Doug Mitchell
* Added prototype for vol_notify_cancel.
* 03-20-90 Doug Mitchell at NeXT
* Created.
*/
#ifndef _VOLDEV_
#define _VOLDEV_
#import <sys/types.h>
#import <mach/kern_return.h>
#import <kernserv/insertmsg.h>
typedef void (*vpt_func)(void *param, int tag, int response_value);
/*
* Public Functions
*/
kern_return_t vol_notify_dev(dev_t block_dev,
dev_t raw_dev,
char *form_type,
int vol_state, /* IND_VS_LABEL, etc. */
char *dev_str,
int flags);
void vol_notify_cancel(dev_t device);
kern_return_(Al_panel_request(vpt_func fnc,
int panel_type, /* PR_PT_DISK_NUM, etc. */
int response_type, /* PR_RT_ACK, atc. */
int p1,
int p2,
int p3,
int p4,
char *string1,
char *string2,
void *param,
int *tag); /* RETURNED */
kern_return_t vol_panel_disk_num(vpt_func fnc,
int volume_num,
int drive_type, /* PR_DRIVE_FLOPPY, etc. */
int drive_num,
void *param,
boolean_t wrong_disk,
int *tag); /* RETURNED */
kern_return_t vol_panel_disk_label(vpt_func fnc,
char *label,
int drive_type, /* PR_DRIVE_FLOPPY, etc. */
int drive_num,
void *param,
boolean_t wrong_disk,
int *tag); /* RETURNED */
kern_return_t vol_panel_remove(int tag);
#endif _VOLDEV_