X-Git-Url: https://git.draconx.ca/gitweb/upkg.git/blobdiff_plain/34b6da11a1cee30f1fcff4e713f2c881ea32aead:/upkg.h..a9b51e6d85e077f8e18c35ac3606d80b343927e0:/src/static/gitweb/git-logo.png diff --git a/upkg.h b/upkg.h deleted file mode 100644 index f20f18e..0000000 --- a/upkg.h +++ /dev/null @@ -1,27 +0,0 @@ -#ifndef UPKG_H_ -#define UPKG_H_ - -#define UPKG_FLAG_ALLOW_DOWNLOAD 0x0001 -#define UPKG_FLAG_CLIENT_OPTIONAL 0x0002 -#define UPKG_FLAG_SERVER_ONLY 0x0004 -#define UPKG_FLAG_BROKEN_LINKS 0x0008 -#define UPKG_FLAG_INSECURE 0x0010 -#define UPKG_FLAG_REQUIRED 0x8000 - -#define UPKG_HDR_MAGIC 0x9e2a83c1 -#define UPKG_HDR_SIZE 36 - -struct upkg { - unsigned version, license; - unsigned long flags; - - unsigned long name_count, export_count, import_count; - - struct upkg_private *priv; -}; - -struct upkg *upkg_fopen(const char *path); -int upkg_close(struct upkg *pkg); -const char *upkg_get_name(struct upkg *pkg, unsigned long idx); - -#endif