Version 7.6.3.2-android, tag libreoffice-7.6.3.2-android
[LibreOffice.git] / sal / inc / oslsocket.hxx
blob52260c263190aa6ff1eb406eb4af085ecbf82314
1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4; fill-column: 100 -*- */
2 /*
3 * This file is part of the LibreOffice project.
5 * This Source Code Form is subject to the terms of the Mozilla Public
6 * License, v. 2.0. If a copy of the MPL was not distributed with this
7 * file, You can obtain one at http://mozilla.org/MPL/2.0/.
8 */
10 #pragma once
12 #include <rtl/ustring.h>
13 #include <osl/socket.h>
15 /** Retrieve this machines hostname as fully qualified domain name (FQDN).
16 Note that this might be slower than calling osl_getLocalHostname
17 since DNS needs to be queried to determine the FQDN.
18 @param strLocalHostname out-parameter. The string that receives the local host name.
19 @retval sal_True upon success
20 @retval sal_False
22 oslSocketResult osl_getLocalHostnameFQDN(rtl_uString** strLocalHostname);
24 /* vim:set shiftwidth=4 softtabstop=4 expandtab cinoptions=b1,g0,N-s cinkeys+=0=break: */