boinc/lib
Eric J. Korpela 90d49a7d91 Modified the BOINC_GETSOCKOPT_TYPE macro so it determines the proper type of
parameter 5 to getsockopt() by using the compiler.  The macro was in danger of
becoming an ever expanding list of case statements, since some platforms use
socklen_t, others use size_t, and still others use int.  Some aren't even
consistent from OS rev to OS rev.

A macro BOINC_SOCKLEN_T is set in config.h to indicate the proper type.  This
is typedef to be boinc_socklen_t in lib/network.h.  The special cases for
__APPLE__ and WIN32 can probably be removed at a later time.  Places where
socklen_t was used have been changed to boinc_socklen_t.

Also added double inclusion protection to network.h

svn path=/trunk/boinc/; revision=6055
2005-05-06 01:54:00 +00:00
..
.cvsignore Cleaned up .cvsignore files 2004-11-19 16:27:06 +00:00
Makefile.am Remove redundant EXTRA_DIST 2005-04-11 08:04:03 +00:00
acct_mgr_client.C *** empty log message *** 2005-03-12 06:51:33 +00:00
acct_mgr_client.h *** empty log message *** 2005-03-11 22:10:56 +00:00
app_ipc.C *** empty log message *** 2005-04-09 02:21:11 +00:00
app_ipc.h *** empty log message *** 2005-04-28 23:19:58 +00:00
base64.C *** empty log message *** 2005-01-20 23:22:22 +00:00
base64.h *** empty log message *** 2005-01-20 23:22:22 +00:00
boinc_cmd.C *** empty log message *** 2005-04-19 20:53:04 +00:00
boinc_win.h *** empty log message *** 2005-04-28 23:30:03 +00:00
crypt.C *** empty log message *** 2005-02-16 23:17:43 +00:00
crypt.h *** empty log message *** 2005-02-16 23:17:43 +00:00
crypt_prog.C *** empty log message *** 2005-02-16 23:17:43 +00:00
diagnostics.C *** empty log message *** 2005-04-09 02:21:11 +00:00
diagnostics.h *** empty log message *** 2005-03-25 12:51:07 +00:00
error_numbers.h Added a utility function to 'print' a text description of errors 2005-05-01 13:03:18 +00:00
exception.C *** empty log message *** 2005-04-09 02:21:11 +00:00
exception.h *** empty log message *** 2005-01-20 23:22:22 +00:00
filesys.C *** empty log message *** 2005-04-28 23:19:58 +00:00
filesys.h *** empty log message *** 2005-04-12 21:54:40 +00:00
gui_rpc_client.C *** empty log message *** 2005-04-28 17:43:13 +00:00
gui_rpc_client.h Correcting the documentation 2005-05-05 05:23:45 +00:00
hostinfo.C Correcting the documentation 2005-05-05 05:23:45 +00:00
hostinfo.h Correcting the documentation 2005-05-05 05:23:45 +00:00
language.C *** empty log message *** 2005-02-16 23:17:43 +00:00
language.h *** empty log message *** 2005-02-16 23:17:43 +00:00
makefile.gui_test *** empty log message *** 2004-11-17 21:02:46 +00:00
md5.c Modified CVS id strings. After some fussing with different versions 2005-01-02 18:29:53 +00:00
md5.h
md5_file.C *** empty log message *** 2005-01-20 23:22:22 +00:00
md5_file.h *** empty log message *** 2005-01-20 23:22:22 +00:00
md5_test.C Modified CVS id strings. After some fussing with different versions 2005-01-02 18:29:53 +00:00
mem_usage.C *** empty log message *** 2005-01-20 23:22:22 +00:00
mem_usage.h *** empty log message *** 2004-12-14 20:28:13 +00:00
mfile.C *** empty log message *** 2005-04-28 23:19:58 +00:00
mfile.h *** empty log message *** 2005-02-01 21:11:08 +00:00
miofile.C *** empty log message *** 2005-01-20 23:22:22 +00:00
miofile.h *** empty log message *** 2005-01-20 23:22:22 +00:00
msg_log.C *** empty log message *** 2005-04-18 05:37:31 +00:00
msg_log.h *** empty log message *** 2005-04-18 05:37:31 +00:00
msg_queue.C *** empty log message *** 2005-01-20 23:22:22 +00:00
msg_queue.h
msg_test.C *** empty log message *** 2005-01-20 23:22:22 +00:00
network.C Modified the BOINC_GETSOCKOPT_TYPE macro so it determines the proper type of 2005-05-06 01:54:00 +00:00
network.h Modified the BOINC_GETSOCKOPT_TYPE macro so it determines the proper type of 2005-05-06 01:54:00 +00:00
parse.C *** empty log message *** 2005-05-04 18:49:02 +00:00
parse.h *** empty log message *** 2005-02-16 23:17:43 +00:00
prefs.C *** empty log message *** 2005-04-13 18:38:55 +00:00
prefs.h *** empty log message *** 2005-04-13 18:38:55 +00:00
proxy_info.C *** empty log message *** 2005-04-09 02:21:11 +00:00
proxy_info.h *** empty log message *** 2005-01-20 23:22:22 +00:00
result_state.h *** empty log message *** 2005-01-20 23:22:22 +00:00
shmem.C *** empty log message *** 2005-04-27 06:55:28 +00:00
shmem.h *** empty log message *** 2005-04-27 06:55:28 +00:00
shmem_test.C *** empty log message *** 2005-01-20 23:22:22 +00:00
stackwalker_win.cpp Modified CVS id strings. After some fussing with different versions 2005-01-02 18:29:53 +00:00
stackwalker_win.h *** empty log message *** 2004-11-14 08:29:32 +00:00
std_fixes.h Fixed problem with including std_fixes.h when compiling code as C rather than 2005-05-06 00:36:07 +00:00
susp.C Modified CVS id strings. After some fussing with different versions 2005-01-02 18:29:53 +00:00
synch.C *** empty log message *** 2005-01-20 23:22:22 +00:00
synch.h *** empty log message *** 2005-01-20 23:22:22 +00:00
synch_test.C *** empty log message *** 2005-01-20 23:22:22 +00:00
util.C Added a utility function to 'print' a text description of errors 2005-05-01 13:03:18 +00:00
util.h Added a utility function to 'print' a text description of errors 2005-05-01 13:10:53 +00:00