root/plugin/svipc/sysvipcwrappers.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 SYSVIPC_WRAPPERS_H
  24 #define SYSVIPC_WRAPPERS_H
  25 
  26 #include "dmtcp.h"
  27 
  28 #define _real_shmget NEXT_FNC(shmget)
  29 #define _real_shmat  NEXT_FNC(shmat)
  30 #define _real_shmdt  NEXT_FNC(shmdt)
  31 #define _real_shmctl NEXT_FNC(shmctl)
  32 
  33 #define _real_semget NEXT_FNC(semget)
  34 #define _real_semctl NEXT_FNC(semctl)
  35 #define _real_semop  NEXT_FNC(semop)
  36 #define _real_semtimedop NEXT_FNC(semtimedop)
  37 
  38 #define _real_msgget NEXT_FNC(msgget)
  39 #define _real_msgctl NEXT_FNC(msgctl)
  40 #define _real_msgsnd NEXT_FNC(msgsnd)
  41 #define _real_msgrcv NEXT_FNC(msgrcv)
  42 
  43 #define _real_pthread_mutex_lock NEXT_FNC(pthread_mutex_lock)
  44 #define _real_pthread_mutex_unlock NEXT_FNC(pthread_mutex_unlock)
  45 #endif

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