File: SoapyInfoUtils.hpp

package info (click to toggle)
soapyremote 0.4.3-1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, buster, sid
  • size: 504 kB
  • sloc: cpp: 6,740; makefile: 13
file content (22 lines) | stat: -rw-r--r-- 499 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
// Copyright (c) 2015-2015 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);
};