ftdi_version_info(3)

πŸ“¦
version 1.5.42+git.de9f01e Β· 2 versions
, in opensuse-leap 16.0

πŸ’… NAME

ftdi_version_info β€” the lil struct that spills all the tea about which libftdi version you're running, bestie ✨


πŸ¦‹ SYNOPSIS

#include <ftdi.h>

🌸 Public Attributes

int major
int minor
int micro
const char * version_str
const char * snapshot_str

πŸŽ€ Detailed Description

Okay so this struct is literally the receipts on your libftdi version, no cap. Let's break it down field by field πŸ‘‘

  • major β€” library major version
  • minor β€” library minor version
  • micro β€” currently unused, and it ight get used for hotfixes πŸ‘€ (that's their spelling, not mine, I'm just the messenger πŸ’…)
  • version_str β€” the version as a (static) string
  • snapshot_str β€” the Git snapshot version if it's known; otherwise "unknown" or an empty string
Fr fr, that "Definition at line 505 of file ftdi.h." thing is where it actually lives in the source, iykyk 🫢

⭐ Member Data Documentation

🌈 int ftdi_version_info::major

Definition at line 507 of file ftdi.h.

Referenced by ftdi_get_library_version().

πŸ’– int ftdi_version_info::minor

Definition at line 508 of file ftdi.h.

Referenced by ftdi_get_library_version().

πŸ¦‹ int ftdi_version_info::micro

Definition at line 509 of file ftdi.h.

Referenced by ftdi_get_library_version().

πŸ“ const char* ftdi_version_info::version_str

Definition at line 510 of file ftdi.h.

Referenced by ftdi_get_library_version().

🧚 const char* ftdi_version_info::snapshot_str

Definition at line 511 of file ftdi.h.

Referenced by ftdi_get_library_version().


πŸ‘‘ Author

Generated automatically by Doxygen for libftdi1 from the source code β€” so like, nobody actually wrote this by hand, the robots ate and left no crumbs πŸ€–βœ¨


And that's the whole vibe check! This lil page is Version 1.5, stamped Wed Nov 6 2024 09:58:53 β€” screenshot it, cite it, slay πŸ’œπŸŽ€
πŸ“¦ where this page comes from