sds_queue(3)

πŸ’– NAME πŸ’–

sds_queue β€” that's the name, bestie, and yes this is the sds_queue(3) page from the Library Functions Manual πŸ’…

✨ SYNOPSIS ✨

#include <sds.h>

πŸŽ€ Data Fields πŸŽ€

  • struct _sds_queue_node * head
  • struct _sds_queue_node * tail
  • void(* value_free_fn )(void *value)

πŸ¦‹ Detailed Description πŸ¦‹

A queue that is internally a doubly linked list. That's the whole vibe β€” queue on the outside, doubly linked list on the inside πŸ”₯

🌸 Field Documentation 🌸

struct _sds_queue_node* sds_queue::head

The pointer to the current active head node. This is the "next" node that will be dequeued and acted upon during the dequeue (pop) operation. Main character of the front of the line, fr fr πŸ‘‘

struct _sds_queue_node* sds_queue::tail

The tail of the queue. This is the "last" value that was inserted. End of the line, but make it iconic πŸŽ€

void(* sds_queue::value_free_fn) (void *value)

If there are remaining nodes when the queue is destroyed, the queue will be drained and this free function called on the value of within. So yeah, cleanup crew gets called on the value of within those leftover nodes 🧹

πŸ’« Author πŸ’«

Generated automatically by Doxygen for dirsrv from the source code.


Source/version sign-off bestie: dirsrv, Version 3.3.0, page sds_queue(3). The footer didn't list a date in this one, so no invented date here β€” just the exact footer info we got πŸ’–πŸ«Ά
πŸ“¦ where this page comes from
  • centos-stream 10: 389-ds-base-devel 3.3.0-4.el10 Β· GPL-3.0-or-later WITH GPL-3.0-389-ds-base-exception AND (Apache-2.0 OR Apache-2.0 WITH LLVM-exception OR MIT) AND (Apache-2.0 OR LGPL-2.1-or-later OR MIT) AND (Apache-2.0 OR MIT) AND (MIT OR Apache-2.0) AND Unicode-3.0 AND (MIT OR Unlicense) AND Apache-2.0 AND MIT AND MPL-2.0 AND Zlib
  • πŸ’– girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms