Mercurial > dropbear
comparison fake-rfc2553.c @ 67:86725004a0ea
fake-rfc stuff
author | Matt Johnston <matt@ucc.asn.au> |
---|---|
date | Thu, 12 Aug 2004 14:39:17 +0000 |
parents | efb5e0b335cf |
children | 9fd27bc37807 |
comparison
equal
deleted
inserted
replaced
66:38c3146aa23d | 67:86725004a0ea |
---|---|
1 /* | 1 /* |
2 * | |
3 * Taken from OpenSSH 3.8.1p1 | |
4 * | |
2 * Copyright (C) 2000-2003 Damien Miller. All rights reserved. | 5 * Copyright (C) 2000-2003 Damien Miller. All rights reserved. |
3 * Copyright (C) 1999 WIDE Project. All rights reserved. | 6 * Copyright (C) 1999 WIDE Project. All rights reserved. |
4 * | 7 * |
5 * Redistribution and use in source and binary forms, with or without | 8 * Redistribution and use in source and binary forms, with or without |
6 * modification, are permitted provided that the following conditions | 9 * modification, are permitted provided that the following conditions |
35 * that ai_family is AF_INET. Don't use it for another purpose. | 38 * that ai_family is AF_INET. Don't use it for another purpose. |
36 */ | 39 */ |
37 | 40 |
38 #include "includes.h" | 41 #include "includes.h" |
39 | 42 |
40 RCSID("$Id: fake-rfc2553.c,v 1.5 2003/09/22 02:08:23 dtucker Exp $"); | 43 /* RCSID("$.Id: fake-rfc2553.c,v 1.5 2003/09/22 02:08:23 dtucker Exp $");*/ |
41 | 44 |
42 #ifndef HAVE_GETNAMEINFO | 45 #ifndef HAVE_GETNAMEINFO |
43 int getnameinfo(const struct sockaddr *sa, size_t salen, char *host, | 46 int getnameinfo(const struct sockaddr *sa, size_t salen, char *host, |
44 size_t hostlen, char *serv, size_t servlen, int flags) | 47 size_t hostlen, char *serv, size_t servlen, int flags) |
45 { | 48 { |