File:  [NeXTSTEP 3.3 examples] / Examples / UNIX / LKSOutOfLineData / KernelServer / mydriver.defs
Revision 1.1.1.1 (vendor branch): download - view: text, annotated - select for diffs
Tue Apr 24 17:48:25 2018 UTC (8 years, 1 month ago) by root
Branches: NeXT, MAIN
CVS tags: NeXTSTEP33, HEAD
Sample Programs from NeXSTEP 3.3

/* mydriver.defs:  MiG definition file for mydriver */

subsystem mydriver 0;

/* Get standard definition of port_t. */
#include <mach/std_types.defs>

type in_user_data_t  = ^ char;
type out_user_data_t = ^(MSG_TYPE_CHAR, 8, dealloc);

import "../Library/mydefs.h";

routine mydriver_import
    (server: port_t;     user_data: in_user_data_t;      user_data_count: int);

routine mydriver_export
    (server: port_t; out user_data: out_user_data_t; out user_data_count: int);

unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.