~ubuntu-branches/ubuntu/wily/dovecot/wily-proposed

« back to all changes in this revision

Viewing changes to src/lib/restrict-process-size.h

  • Committer: Bazaar Package Importer
  • Author(s): Matthias Klose
  • Date: 2008-08-02 14:00:15 UTC
  • mto: (1.11.1 upstream) (4.2.1 sid)
  • mto: This revision was merged to the branch mainline in revision 39.
  • Revision ID: james.westby@ubuntu.com-20080802140015-zbmjsgoodeyc9z4s
Tags: upstream-1.1.2
ImportĀ upstreamĀ versionĀ 1.1.2

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
#ifndef __RESTRICT_PROCESS_SIZE_H
2
 
#define __RESTRICT_PROCESS_SIZE_H
 
1
#ifndef RESTRICT_PROCESS_SIZE_H
 
2
#define RESTRICT_PROCESS_SIZE_H
3
3
 
4
4
/* Restrict max. process size. The size is in megabytes, setting it to
5
5
   (unsigned int)-1 sets it unlimited. */
6
6
void restrict_process_size(unsigned int size, unsigned int max_processes);
 
7
/* Set fd limit to count. */
 
8
void restrict_fd_limit(unsigned int count);
7
9
 
8
10
#endif