AUPARSE_GET_FIELD_NAME(3)

πŸ“¦
version 4.2.1 Β· 3 versions
, in alpine 3.23, alpine 3.24, arch rolling, centos-stream 10, fedora 43, fedora 44, nixpkgs unstable, ubuntu resolute, ubuntu stonking

AUPARSE_GET_FIELD_NAME(3) πŸ’…

okay bestie, welcome to the Linux Audit API section 3 girlies β€” this one's short and sweet and honestly kind of a bop ✨


🌸 NAME 🌸

auparse_get_field_name β€” get current field's name


πŸŽ€ SYNOPSIS πŸŽ€

#include <auparse.h>

const char * auparse_get_field_name(const auparse_state_t *au);"

(yes the quote mark at the end is just... there. we don't ask questions, we just copy the vibe πŸ’€)


✨ DESCRIPTION ✨

so like, auparse_get_field_name lets you peek at the current field name β€” and not just any field, bestie, we're talking the current field of the current record in the current event. it's giving very "where am I right now in the audit stream" main character energy πŸ‘‘


πŸ¦‹ RETURN VALUE πŸ¦‹

  • if something goes wrong, you get NULL back 😭
  • otherwise? a pointer to the field's name, slay πŸ’–

🌈 SEE ALSO 🌈


πŸ‘‘ AUTHOR πŸ‘‘

Steve Grubb


Red Hat, Feb 2007 β€” that's the whole page, no cap. thanks for coming to my ted talk, go parse some audits πŸ«ΆπŸ’œ