diff options
author | Rafal Szczesniak <mimir@samba.org> | 2005-06-18 22:10:32 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 13:18:27 -0500 |
commit | 204722b86859da5e2addce51054323b6ad49a658 (patch) | |
tree | 862fa64ea1b6a7916a0cd0a4aed9aa114edb81f1 /source4/libnet/libnet_lookup.h | |
parent | d52ce8ff0c0546b681f3787728f739c1bb6a71e2 (diff) | |
download | samba-204722b86859da5e2addce51054323b6ad49a658.tar.gz samba-204722b86859da5e2addce51054323b6ad49a658.tar.bz2 samba-204722b86859da5e2addce51054323b6ad49a658.zip |
r7732: Implementation of very basic lookup function (to be used in more
specific routines like resolving a pdc).
Also, couple of formatting fixes.
rafal
(This used to be commit b9deaa995da3a732514d5ceab0010adb58be5fe0)
Diffstat (limited to 'source4/libnet/libnet_lookup.h')
-rw-r--r-- | source4/libnet/libnet_lookup.h | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/source4/libnet/libnet_lookup.h b/source4/libnet/libnet_lookup.h new file mode 100644 index 0000000000..e5b2d58fd3 --- /dev/null +++ b/source4/libnet/libnet_lookup.h @@ -0,0 +1,31 @@ +/* + Unix SMB/CIFS implementation. + + Copyright (C) Rafal Szczesniak 2005 + + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 2 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program; if not, write to the Free Software + Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. +*/ + + +struct libnet_Lookup { + struct { + const char *hostname; + int type; + const char **methods; + } in; + struct { + const char **address; + } out; +}; |