FreeWRL/FreeX3D
3.0.0
Main Page
Related Pages
Data Structures
Files
File List
PluginSocket.h
1
/*
2
3
4
FreeWRL plugin utilities header file.
5
6
*/
7
8
/****************************************************************************
9
This file is part of the FreeWRL/FreeX3D Distribution.
10
11
Copyright 2009 CRC Canada. (http://www.crc.gc.ca)
12
13
FreeWRL/FreeX3D is free software: you can redistribute it and/or modify
14
it under the terms of the GNU Lesser Public License as published by
15
the Free Software Foundation, either version 3 of the License, or
16
(at your option) any later version.
17
18
FreeWRL/FreeX3D is distributed in the hope that it will be useful,
19
but WITHOUT ANY WARRANTY; without even the implied warranty of
20
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
21
GNU General Public License for more details.
22
23
You should have received a copy of the GNU General Public License
24
along with FreeWRL/FreeX3D. If not, see <http://www.gnu.org/licenses/>.
25
****************************************************************************/
26
27
28
#ifndef __FREEWRL_PLUGIN_SOCKET_H__
29
#define __FREEWRL_PLUGIN_SOCKET_H__
30
31
32
#ifdef __cplusplus
33
extern
"C"
{
34
#endif
35
36
/* what Browser are we running under? eg, netscape, mozilla, konqueror, etc */
37
38
#define MAXNETSCAPENAMELEN 256
39
extern
char
NetscapeName[MAXNETSCAPENAMELEN];
40
41
char
*requestUrlfromPlugin(
int
sockDesc, uintptr_t plugin_instance,
const
char
*url);
42
void
requestNewWindowfromPlugin(
int
sockDesc, uintptr_t plugin_instance,
const
char
*url);
43
void
requestPluginPrint(
int
sockDesc,
const
char
* msg);
44
int
receiveUrl(
int
sockDesc,
urlRequest
*request);
45
46
47
#ifdef __cplusplus
48
}
49
#endif
50
51
52
#endif
/* __FREEWRL_PLUGIN_SOCKET_H__ */
_urlRequest
Definition:
pluginUtils.h:57
src
lib
plugin
PluginSocket.h
Generated on Thu Dec 14 2017 12:14:41 for FreeWRL/FreeX3D by
1.8.6