Connect EzDent to the original EzServer API

This commit is contained in:
SantaSpeen committed 2026-11-23 17:17:15 +03:00
1 parent 8d93e526c3
commit b11a8f62f9
13 files changed
+855 -108

No files matched your search

+24
View File
@@ -0,0 +1,24 @@
#pragma once
#include <stdint.h>
#include <sys/types.h>
// These public libarchive functions are exported by macOS. The SDK ships the
// library interface but omits the headers, so declare the subset used here.
struct archive;
struct archive_entry;
enum {
ARCHIVE_EOF = 1,
ARCHIVE_OK = 0
};
struct archive *archive_read_new(void);
int archive_read_support_format_zip(struct archive *);
int archive_read_open_filename(struct archive *, const char *, size_t);
int archive_read_free(struct archive *);
int archive_read_next_header(struct archive *, struct archive_entry **);
ssize_t archive_read_data(struct archive *, void *, size_t);
mode_t archive_entry_filetype(struct archive_entry *);
int64_t archive_entry_size(struct archive_entry *);
const char *archive_entry_hardlink(struct archive_entry *);
+5
View File
@@ -0,0 +1,5 @@
module CArchive [system] {
header "archive.h"
link "archive"
export *
}