summaryrefslogtreecommitdiff
path: root/rts/RtsFlags.h
blob: 79ebd36a7e1124e5340b12e784e00a68f2fa6edb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
/* -----------------------------------------------------------------------------
 *
 * (c) The AQUA Project, Glasgow University, 1994-1997
 * (c) The GHC Team, 1998-2006
 *
 * Functions for parsing the argument list.
 *
 * ---------------------------------------------------------------------------*/

#ifndef RTSFLAGS_H
#define RTSFLAGS_H

#include "BeginPrivate.h"

/* Routines that operate-on/to-do-with RTS flags: */

void initRtsFlagsDefaults (void);
void setupRtsFlags        (int *argc, char *argv[], RtsConfig rtsConfig);
void setProgName          (char *argv[]);
void freeRtsArgs          (void);

extern RtsConfig rtsConfig;

#include "EndPrivate.h"

#endif /* RTSFLAGS_H */