public static extern void zip_stat_init([In][Out] zip_stat_t st);
public static int zip_stat(IntPtr archive, string fname, OperationFlags flags, out zip_stat_t sb) { var utfFname = Utilities.StringToUtf8StringPtr(fname); try { return(zip_stat(archive, utfFname, flags, out sb)); } finally { Utilities.FreeUtf8StringPtr(utfFname); } }
public static extern int zip_stat_index(IntPtr archive, UInt64 index, OperationFlags flags, out zip_stat_t sb);
public static extern int zip_stat(IntPtr archive, IntPtr fname, OperationFlags flags, out zip_stat_t sb);