1/*
2 * Copyright 2003-2007, Waldemar Kornewald <wkornew@gmx.net>
3 * Distributed under the terms of the MIT License.
4 */
5
6#include <OS.h>
7#include "_libppputils.h"
8#include <cstdlib>
9#include <cstring>
10
11
12char*
13get_stack_driver_path()
14{
15	char *path;
16
17	// user-defined stack driver path?
18	path = getenv("NET_STACK_DRIVER_PATH");
19	if (path)
20		return path;
21
22	// use the default stack driver path
23	return NET_STACK_DRIVER_PATH;
24}
25