private.h(3)

πŸ“¦
version 2.0.9 Β· 4 versions
, in debian trixie, ubuntu noble, ubuntu questing

πŸ’– private.h β€” the ccRTP internal gossip file πŸ’–

okay bestie, so this is the private.h page from the Library Functions Manual β€” it's a header, it's a ccRTP header, and it's where all the internal secret-society stuff lives. no cap.


✨ NAME ✨

private.h β€” Declaration of ccRTP internal stuff. 🫣

like… it literally says "internal stuff". that's the whole vibe. iconic honestly.


🌸 SYNOPSIS 🌸

#include <commoncpp/config.h>
#include <commoncpp/thread.h>
#include <commoncpp/socket.h>
#include <commoncpp/udp.h>
#include <commoncpp/process.h>
#include <commoncpp/export.h>
#include <ccrtp-config.h>

πŸŽ€ Macros πŸŽ€

#define I(e)   /* empty */
#define DL(e)   /* empty */
#define VDL(e)   /* empty */

πŸ¦‹ Functions πŸ¦‹

uint32 random32 ()
uint16 random16 ()

⭐ Variables ⭐

NAMESPACE_COMMONCPP const uint32 NTP_EPOCH_OFFSET =
    static_cast<uint32>(2208992400ul)

πŸ’… DESCRIPTION πŸ’…

Declaration of ccRTP internal stuff. yeah, again. it's committed to the bit.

so here's the tea: this header pulls in the autogenerated config.h, the general header (rtp.h) and the nana assertion checking library headers. and it also defines the common macros and constants. that's the whole job. she's doing it. periodt. πŸ’–


🌈 Macro Definition Documentation 🌈

#define DL(e) /* empty */

#define I(e) /* empty */

#define VDL(e) /* empty */

all three of these macros expand to literally nothing. empty. void. the sound of silence. DL, I and VDL take an argument e and then… give you nothing back. it's giving minimalist queen. πŸ‘‘


πŸ”₯ Function Documentation πŸ”₯

uint16 random16 ()

returns a uint16. that's it, that's the entry. πŸ“

uint32 random32 ()

returns a uint32. also that's it. both of them live right up there in the synopsis, standing next to each other like matching besties. ✨


πŸ‘‘ Variable Documentation πŸ‘‘

NAMESPACE_COMMONCPP const uint32 NTP_EPOCH_OFFSET = static_cast<uint32>(2208992400ul)

a const uint32, scoped inside NAMESPACE_COMMONCPP, set to static_cast<uint32>(2208992400ul). she's a constant, she's const, she's not changing for anybody. πŸ’œ


πŸ™ˆ Author πŸ™ˆ

Generated automatically by Doxygen for ccRTP from the source code.

so yeah, no human wrote this, a robot did, and honestly? the robot ate. πŸ’€


okay that's the whole page, bestie β€” ccRTP, page private.h(3), dropped straight from the source. go forth and be internal about it. πŸ§šβ€β™€οΈπŸ’–

πŸ“¦ where this page comes from