IXP_PFCALL(3)
π ixp_pfcall, ixp_pqid, ixp_pqids, ixp_pstat, ixp_sizeof_stat π
This is the IXP_PFCALL(3) page from the Library Functions Manual, bestie β and it's literally all about packing and unpacking libixp structs into wire format β¨
πΈ SYNOPSIS πΈ
#include <ixp.h>
void ixp_pfcall(IxpMsg *msg, IxpFcall *fcall);
void ixp_pqid(IxpMsg *msg, IxpQid *qid);
void ixp_pqids(IxpMsg *msg, uint16_t *num, IxpQid qid[], uint max);
void ixp_pstat(IxpMsg *msg, IxpStat *stat);
uint16_t ixp_sizeof_stat(IxpStat *stat);
β¨ DESCRIPTION β¨
Okay so these are the convenience functions that pack or unpack the contents of libixp structures into their wire format π
They behave exactly as if ixp_pu8(3), ixp_pu16(3), ixp_pu32(3), ixp_pu64(3), and ixp_pstring(3) were called for each member of the structure in question. Same energy, just bundled up all cute and convenient π
And the page's own mapping moment is: ixp_pqid is to ixp_pqid as ixp_pstrings(3) is to ixp_pstring. Yes bestie β it's written with the same name on both sides, and we're preserving it exactly as it appears π«Ά
ixp_sizeof_stat returns the size of the packed represention of stat β
π¦ SEE ALSO π¦
Later, bestie β this one came from the libixp Manual, dated 2012 Dec π«Άβ¨
π¦ where this page comes from
- nixos 26.05: libixp 0-unstable-2022-04-04
- nixpkgs unstable: libixp 0-unstable-2022-04-04
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms