File: SoapyInfoUtils.hpp

package info (click to toggle)
soapyremote 0.5.2-4.1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 608 kB
  • sloc: cpp: 7,724; makefile: 13
file content (27 lines) | stat: -rw-r--r-- 626 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
// Copyright (c) 2015-2018 Josh Blum
// SPDX-License-Identifier: BSL-1.0

#pragma once
#include "SoapyRemoteConfig.hpp"
#include <string>

namespace SoapyInfo
{
    //! Get the hostname
    SOAPY_REMOTE_API std::string getHostName(void);

    /*!
     * Generate a type1 UUID based on the current time and host ID.
     */
    SOAPY_REMOTE_API std::string generateUUID1(void);

    /*!
     * Get the user agent string for this build.
     */
    SOAPY_REMOTE_API std::string getUserAgent(void);

    /*!
     * Get the server version string for this build.
     */
    SOAPY_REMOTE_API std::string getServerVersion(void);
};