__zzip_par...t_directory(3)

πŸ“¦
version 0.13.78 Β· 4 versions
, in centos-stream 10, debian trixie, fedora 43, fedora 44, opensuse-leap 16.0, ubuntu questing, ubuntu resolute, ubuntu stonking

πŸ’– NAME πŸ’–

__zzip_parse_root_directory β€” bestie, this one is internal. like, not-for-public-consumption internal. you didn't hear it from me. 🀫


✨ SYNOPSIS ✨

#include <zzip/lib.h>

static int
__zzip_parse_root_directory(int fd, struct _disk_trailer* trailer, struct zzip_dir_hdr** hdr_return,
                            zzip_plugin_io_t io, zzip_off_t filesize)

okay so yes, that's the whole signature, every arg, character for character, no cap. πŸ‘‘


πŸ¦‹ DESCRIPTION πŸ¦‹

So __zzip_parse_root_directory is the lil helper that zzip_file_open leans on β€” it's usually called right after __zzip_find_disk_trailer, like they're a duo, a little dynamic duo, the way that they always show up together. 🫢

What does it actually do tho? It parses the zip's central directory information and builds a zziplib private directory table in memory. that's the whole vibe. it reads the map so the rest of the library knows where everything lives. iconic behaviour honestly. ✨


🌸 AUTHOR 🌸

  • Guido Draheim <guidod@gmx.de>
  • Tomi Ollila <too@iki.fi>

two absolute legends, we love to see it. πŸ’œ


Copyright (c) Guido Draheim, use under copyleft (LGPL,MPL) β€” so like, use it, share it, remix it, just keep it copyleft, mkay? the license said what it said. πŸ’…


okay that's the whole page bestie, we ate and left no crumbs πŸ“ β€” this was zziplib Function List, page __zzip_par...t_directory(3), from zziplib 0.13.78, dated 0.13.78, mwah πŸ’‹ periodt.