diff options
author | Gerald Combs <gerald@wireshark.org> | 2013-10-29 04:05:27 +0000 |
---|---|---|
committer | Gerald Combs <gerald@wireshark.org> | 2013-10-29 04:05:27 +0000 |
commit | ba49d9bcf01a597ebec66c3d65c4813ebf174806 (patch) | |
tree | 24a8dc06b7825a9b8d252a148eeb0809d75201e6 /wsutil/u3.h | |
parent | 58d01512b16728b357b2f6481c592a71c7ab8435 (diff) |
Revert part of 52896 and (for now) all of 52935. As Jeff pointed out,
the PortableApps version relies on U3_-prefixed environment variables.
svn path=/trunk/; revision=52941
Diffstat (limited to 'wsutil/u3.h')
-rw-r--r-- | wsutil/u3.h | 48 |
1 files changed, 48 insertions, 0 deletions
diff --git a/wsutil/u3.h b/wsutil/u3.h new file mode 100644 index 0000000000..fac385aebe --- /dev/null +++ b/wsutil/u3.h @@ -0,0 +1,48 @@ +/* u3.h + * u3 2006 Graeme Lunt + * + * $Id$ + * + * Wireshark - Network traffic analyzer + * By Gerald Combs <gerald@wireshark.org> + * Copyright 1998 Gerald Combs + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU General Public License + * as published by the Free Software Foundation; either version 2 + * of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + */ + +#ifndef __U3_H__ +#define __U3_H__ + +#include "ws_symbol_export.h" + +#ifdef __cplusplus +extern "C" { +#endif /* __cplusplus */ + +WS_DLL_PUBLIC gboolean u3_active(void); + +WS_DLL_PUBLIC void u3_runtime_info(GString *str); + +WS_DLL_PUBLIC void u3_register_pid(void); +WS_DLL_PUBLIC void u3_deregister_pid(void); + +WS_DLL_PUBLIC const char *u3_expand_device_path(const char *path); +WS_DLL_PUBLIC const char *u3_contract_device_path(char *path); + +#ifdef __cplusplus +} +#endif /* __cplusplus */ + +#endif /* __U3_H__ */ |