root/plugin/ipc/socket/socketwrappers.h

/* [<][>][^][v][top][bottom][index][help] */

INCLUDED FROM


   1 /****************************************************************************
   2  *   Copyright (C) 2006-2010 by Jason Ansel, Kapil Arya, and Gene Cooperman *
   3  *   jansel@csail.mit.edu, kapil@ccs.neu.edu, gene@ccs.neu.edu              *
   4  *                                                                          *
   5  *   This file is part of the dmtcp/src module of DMTCP (DMTCP:dmtcp/src).  *
   6  *                                                                          *
   7  *  DMTCP:dmtcp/src is free software: you can redistribute it and/or        *
   8  *  modify it under the terms of the GNU Lesser General Public License as   *
   9  *  published by the Free Software Foundation, either version 3 of the      *
  10  *  License, or (at your option) any later version.                         *
  11  *                                                                          *
  12  *  DMTCP:dmtcp/src is distributed in the hope that it will be useful,      *
  13  *  but WITHOUT ANY WARRANTY; without even the implied warranty of          *
  14  *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the           *
  15  *  GNU Lesser General Public License for more details.                     *
  16  *                                                                          *
  17  *  You should have received a copy of the GNU Lesser General Public        *
  18  *  License along with DMTCP:dmtcp/src.  If not, see                        *
  19  *  <http://www.gnu.org/licenses/>.                                         *
  20  ****************************************************************************/
  21 
  22 #pragma once
  23 #ifndef SOCKET_WRAPPERS_H
  24 #define SOCKET_WRAPPERS_H
  25 
  26 #include "dmtcp.h"
  27 
  28 #define _real_socket NEXT_FNC(socket)
  29 #define _real_connect NEXT_FNC(connect)
  30 #define _real_bind NEXT_FNC(bind)
  31 #define _real_listen NEXT_FNC(listen)
  32 #define _real_accept NEXT_FNC(accept)
  33 #define _real_accept4 NEXT_FNC(accept4)
  34 #define _real_setsockopt NEXT_FNC(setsockopt)
  35 #define _real_getsockopt NEXT_FNC(getsockopt)
  36 #define _real_socketpair NEXT_FNC(socketpair)
  37 #define _real_close NEXT_FNC(close)
  38 #define _real_getaddrinfo NEXT_FNC(getaddrinfo)
  39 #define _real_getnameinfo NEXT_FNC(getnameinfo)
  40 #define _real_gethostbyname NEXT_FNC(gethostbyname)
  41 #define _real_gethostbyaddr NEXT_FNC(gethostbyaddr)
  42 
  43 #endif // SOCKET_WRAPPERS_H

/* [<][>][^][v][top][bottom][index][help] */