view src/lib/restrict-process-size.h @ 3863:55df57c028d4 HEAD

Added "bool" type and changed all ints that were used as booleans to bool.
author Timo Sirainen <tss@iki.fi>
date Fri, 13 Jan 2006 22:25:57 +0200
parents 6cb5b50aea71
children c6d6ce742a82
line wrap: on
line source

#ifndef __RESTRICT_PROCESS_SIZE_H
#define __RESTRICT_PROCESS_SIZE_H

/* Restrict max. process size. The size is in megabytes, setting it to
   (unsigned int)-1 sets it unlimited. */
void restrict_process_size(unsigned int size, unsigned int max_processes);

#endif