File: Platform_NetLib_Sck.cpp.rej

package info (click to toggle)
pose 3.0a3-3
  • links: PTS
  • area: contrib
  • in suites: potato
  • size: 15,500 kB
  • ctags: 20,548
  • sloc: ansic: 72,579; cpp: 50,198; perl: 1,336; python: 1,242; sh: 363; makefile: 290
file content (85 lines) | stat: -rw-r--r-- 2,762 bytes parent folder | download
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
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
***************
*** 107,113 ****
  										 int&							outOptLevel,
  										 int&							outOptName,
  										 char*&							outOptVal,
- 										 int&							outOptValLen);
  static Bool	SocketsToNetLibOptions		(const int						inOptLevel,
  										 const int						inOptName,
  										 /*const*/ char*&					inOptVal,
--- 107,113 ----
  										 int&							outOptLevel,
  										 int&							outOptName,
  										 char*&							outOptVal,
+ 										 network_buffer_length&							outOptValLen);
  static Bool	SocketsToNetLibOptions		(const int						inOptLevel,
  										 const int						inOptName,
  										 /*const*/ char*&					inOptVal,
***************
*** 143,149 ****
  static Bool NetLibToSocketsScalarOption (const VoidPtr					inOptVal,
  										 const Word						inOptValLen,
  										 char*&							outOptVal,
- 										 int&							outOptValLen);
  
  static Bool SocketsToNetLibScalarOption (/*const*/ char*&					inOptVal,
  										 const int						inOptValLen,
--- 143,149 ----
  static Bool NetLibToSocketsScalarOption (const VoidPtr					inOptVal,
  										 const Word						inOptValLen,
  										 char*&							outOptVal,
+ 										 network_buffer_length&							outOptValLen);
  
  static Bool SocketsToNetLibScalarOption (/*const*/ char*&					inOptVal,
  										 const int						inOptValLen,
***************
*** 525,531 ****
  		int		level;
  		int		optName;
  		char*	optVal;
- 		int		optLen;
  
  		if (!NetLibToSocketsRef (sRef, s) ||
  			!NetLibToSocketsOptions (optLevel, opt, optValueP, optValueLen, level, optName, optVal, optLen))
--- 525,531 ----
  		int		level;
  		int		optName;
  		char*	optVal;
+ 		network_buffer_length		optLen;
  
  		if (!NetLibToSocketsRef (sRef, s) ||
  			!NetLibToSocketsOptions (optLevel, opt, optValueP, optValueLen, level, optName, optVal, optLen))
***************
*** 1700,1706 ****
  								int&						outOptLevel,
  								int&						outOptName,
  								char*&						outOptVal,
- 								int&						outOptValLen)
  {
  	Bool	result = true;
  
--- 1700,1706 ----
  								int&						outOptLevel,
  								int&						outOptName,
  								char*&						outOptVal,
+ 								network_buffer_length&						outOptValLen)
  {
  	Bool	result = true;
  
***************
*** 2271,2277 ****
  Bool NetLibToSocketsScalarOption (	const VoidPtr	inOptVal,
  									const Word		inOptValLen,
  									char*&			outOptVal,
- 									int&			outOptValLen)
  {
  	Bool	result = true;
  
--- 2271,2277 ----
  Bool NetLibToSocketsScalarOption (	const VoidPtr	inOptVal,
  									const Word		inOptValLen,
  									char*&			outOptVal,
+ 									network_buffer_length&			outOptValLen)
  {
  	Bool	result = true;