summaryrefslogtreecommitdiff
path: root/rts/RtsFlags.h
blob: b3627e0e487e84e43e8168ab1ea33eb583a2306e (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
27
/* -----------------------------------------------------------------------------
 *
 * (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[],
                           RtsOptsEnabledEnum rtsOptsEnabled,
                           const char *ghc_rts_opts,
                           HsBool is_hs_main);
void setProgName          (char *argv[]);
void freeRtsArgs          (void);

#include "EndPrivate.h"

#endif /* RTSFLAGS_H */