swapdump.c

MudOSa4DGD/mudlib/dgd/lib/sys/kfun/swapdump.c · 337 B

From the archive MudOSa4DGD-30.06.98.tar.gz

Download the archive   « Back to the archive contents

/*
 * swapdump.c
 *
 * Overrides swapout() and dump_state() kfuns
 *
 * (C) Frank Schmidt, Jesus@NorseMUD
 *
 */

/* restrict access */
static void dump_state() {
  if (DRIVER_PRIV())
    ::dump_state();
  else
    illegal();
}

/* restrict access */
static void swapout() {
  if (DRIVER_PRIV())
    ::swapout();
  else
    illegal();
}

Site Stats

Snippets: 1791
Codebases: 571