summaryrefslogtreecommitdiff
path: root/tools/build/src/engine/cwd.h
blob: 886714a8fd75e0b9a8e05adaa0b9350a7678e778 (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
28
29
30
31
32
33
34
35
/*
 * Copyright 2002. Vladimir Prus
 * Distributed under the Boost Software License, Version 1.0.
 * (See accompanying file LICENSE_1_0.txt or copy at
 * http://www.boost.org/LICENSE_1_0.txt)
 */

/*
 * cwd.h - manages the current working folder information
 */

#ifndef CWD_H
#define CWD_H

#include "object.h"


/* cwd() - returns the current working folder */
OBJECT * cwd( void );

/* cwd_init() - initialize the cwd module functionality
 *
 *   The current working folder can not change in Boost Jam so this function
 * gets the current working folder information from the OS and stores it
 * internally.
 *
 *   Expected to be called at program startup before the program's current
 * working folder has been changed
 */
void cwd_init( void );

/* cwd_done() - cleans up the cwd module functionality */
void cwd_done( void );

#endif