~ubuntu-branches/ubuntu/breezy/ace/breezy

« back to all changes in this revision

Viewing changes to ace/SOCK.i

  • Committer: Bazaar Package Importer
  • Author(s): Adam Conrad, Benjamin Montgomery, Adam Conrad
  • Date: 2005-09-18 22:51:38 UTC
  • mfrom: (1.2.1 upstream) (2.1.1 sarge) (0.1.2 woody)
  • Revision ID: james.westby@ubuntu.com-20050918225138-seav22q6fyylb536
Tags: 5.4.7-3ubuntu1
[ Benjamin Montgomery ]
* Added a patch for amd64 and powerpc that disables the compiler
  option -fvisibility-inlines-hidden

[ Adam Conrad ]
* Added DPATCH_OPTION_CPP=1 to debian/patches/00options to make
  Benjamin's above changes work correctly with dpatch.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
/* -*- C++ -*- */
2
 
// SOCK.i,v 4.5 2003/11/01 11:15:17 dhinton Exp
3
 
 
4
 
// SOCK.i
5
 
 
6
 
#include "OS_NS_sys_socket.h"
7
 
 
8
 
ASYS_INLINE
9
 
ACE_SOCK::~ACE_SOCK (void)
10
 
{
11
 
  // ACE_TRACE ("ACE_SOCK::~ACE_SOCK");
12
 
}
13
 
 
14
 
ASYS_INLINE int 
15
 
ACE_SOCK::set_option (int level, 
16
 
                      int option, 
17
 
                      void *optval, 
18
 
                      int optlen) const
19
 
{
20
 
  ACE_TRACE ("ACE_SOCK::set_option");
21
 
  return ACE_OS::setsockopt (this->get_handle (), level, 
22
 
                             option, (char *) optval, optlen);
23
 
}
24
 
 
25
 
// Provides access to the ACE_OS::getsockopt system call.
26
 
 
27
 
ASYS_INLINE int 
28
 
ACE_SOCK::get_option (int level, 
29
 
                      int option, 
30
 
                      void *optval, 
31
 
                      int *optlen) const
32
 
{
33
 
  ACE_TRACE ("ACE_SOCK::get_option");
34
 
  return ACE_OS::getsockopt (this->get_handle (), level, 
35
 
                             option, (char *) optval, optlen);
36
 
}