2
* Copyright (C) 2001 Luca Deri <deri@ntop.org>
6
* This program is free software; you can redistribute it and/or modify
7
* it under the terms of the GNU General Public License as published by
8
* the Free Software Foundation; either version 2 of the License, or
9
* (at your option) any later version.
11
* This program is distributed in the hope that it will be useful,
12
* but WITHOUT ANY WARRANTY; without even the implied warranty of
13
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14
* GNU General Public License for more details.
16
* You should have received a copy of the GNU General Public License
17
* along with this program; if not, write to the Free Software
18
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
22
This file contains some compatibility functions that are needed for
23
ntop to run on Darwin/MacOS X
28
/* ***************************************************************** */
31
* This file was modified by Christoph Pfisterer <cp@chrisp.de>
32
* on Sat, May 5 2001. See the file "ChangeLog" for details of what
36
* Copyright (c) 1999 Apple Computer, Inc. All rights reserved.
38
* @APPLE_LICENSE_HEADER_START@
40
* Portions Copyright (c) 1999 Apple Computer, Inc. All Rights
41
* Reserved. This file contains Original Code and/or Modifications of
42
* Original Code as defined in and that are subject to the Apple Public
43
* Source License Version 1.1 (the "License"). You may not use this file
44
* except in compliance with the License. Please obtain a copy of the
45
* License at http://www.apple.com/publicsource and read it before using
48
* The Original Code and all software distributed under the License are
49
* distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY KIND, EITHER
50
* EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
51
* INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
52
* FITNESS FOR A PARTICULAR PURPOSE OR NON- INFRINGEMENT. Please see the
53
* License for the specific language governing rights and limitations
56
* @APPLE_LICENSE_HEADER_END@
69
extern const char * dlerror(
76
#define RTLD_LOCAL 0x4
77
#define RTLD_GLOBAL 0x8
78
#define RTLD_NOLOAD 0x10
79
#define RTLD_SHARED 0x20 /* not used, the default */
80
#define RTLD_UNSHARED 0x40
81
#define RTLD_NODELETE 0x80
82
#define RTLD_LAZY_UNDEF 0x100
88
/* ***************************************************************** */