Last change
on this file was 862, checked in by Silvan Scherrer, 11 years ago |
Samba Server: update trunk to 3.6.23
|
File size:
1.2 KB
|
Rev | Line | |
---|
[414] | 1 | /*
|
---|
| 2 | * Unix SMB/CIFS implementation.
|
---|
| 3 | *
|
---|
| 4 | * Dummy replacements for socket functions.
|
---|
| 5 | *
|
---|
| 6 | * Copyright (C) Michael Adam <obnox@samba.org> 2008
|
---|
| 7 | *
|
---|
[862] | 8 | * ** NOTE! The following LGPL license applies to the replace
|
---|
| 9 | * ** library. This does NOT imply that all of Samba is released
|
---|
| 10 | * ** under the LGPL
|
---|
[414] | 11 | *
|
---|
[862] | 12 | * This library is free software; you can redistribute it and/or
|
---|
| 13 | * modify it under the terms of the GNU Lesser General Public
|
---|
| 14 | * License as published by the Free Software Foundation; either
|
---|
| 15 | * version 3 of the License, or (at your option) any later version.
|
---|
| 16 | *
|
---|
| 17 | * This library is distributed in the hope that it will be useful,
|
---|
[414] | 18 | * but WITHOUT ANY WARRANTY; without even the implied warranty of
|
---|
[862] | 19 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
---|
| 20 | * Library General Public License for more details.
|
---|
[414] | 21 | *
|
---|
[862] | 22 | * You should have received a copy of the GNU Lesser General Public
|
---|
| 23 | * License along with this library; if not, see <http://www.gnu.org/licenses/>.
|
---|
[414] | 24 | */
|
---|
| 25 |
|
---|
| 26 | #include "replace.h"
|
---|
| 27 | #include "system/network.h"
|
---|
| 28 |
|
---|
| 29 | int rep_connect(int sockfd, const struct sockaddr *serv_addr, socklen_t addrlen)
|
---|
| 30 | {
|
---|
| 31 | errno = ENOSYS;
|
---|
| 32 | return -1;
|
---|
| 33 | }
|
---|
| 34 |
|
---|
| 35 | struct hostent *rep_gethostbyname(const char *name)
|
---|
| 36 | {
|
---|
| 37 | errno = ENOSYS;
|
---|
| 38 | return NULL;
|
---|
| 39 | }
|
---|
Note:
See
TracBrowser
for help on using the repository browser.