Annotation of embedaddon/smartmontools/os_win32/hostname_win32.h, revision 1.1
1.1 ! misho 1: /*
! 2: * os_win32/hostname_win32.h
! 3: *
! 4: * Home page of code is: http://smartmontools.sourceforge.net
! 5: *
! 6: * Copyright (C) 2004-8 Christian Franke <smartmontools-support@lists.sourceforge.net>
! 7: *
! 8: * This program is free software; you can redistribute it and/or modify
! 9: * it under the terms of the GNU General Public License as published by
! 10: * the Free Software Foundation; either version 2, or (at your option)
! 11: * any later version.
! 12: *
! 13: * You should have received a copy of the GNU General Public License
! 14: * (for example COPYING); if not, write to the Free
! 15: * Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
! 16: *
! 17: */
! 18:
! 19: #ifndef HOSTNAME_WIN32_H
! 20: #define HOSTNAME_WIN32_H
! 21:
! 22: #define HOSTNAME_WIN32_H_CVSID "$Id: hostname_win32.h,v 1.5 2008/03/04 22:09:48 ballen4705 Exp $\n"
! 23:
! 24: #ifdef __cplusplus
! 25: extern "C" {
! 26: #endif
! 27:
! 28: int gethostname(char * name, int len);
! 29: int getdomainname(char * name, int len);
! 30:
! 31: #ifdef __cplusplus
! 32: }
! 33: #endif
! 34:
! 35: #endif // HOSTNAME_WIN32_H
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>