kernel.h

dgd/mud/include/kernel/kernel.h · 262 B

From the archive dgd-1.2p4.tar.gz

Download the archive   « Back to the archive contents

# include <config.h>

# define DRIVER		"/kernel/sys/driver"
# define AUTO		"/kernel/lib/auto"

/*
 * privilege levels
 */
# define KERNEL()	(sscanf(previous_program(), "/kernel/%*s") != 0)
# define SYSTEM()	(sscanf(previous_program(), USR + "/System/%*s") != 0)

Site Stats

Snippets: 1791
Codebases: 571