| 256 | } |
| 257 | |
| 258 | void ckpt_zip_dir(struct ParseState* Parser, struct Value* ReturnValue, struct Value** Param, int NumArgs) |
| 259 | { |
| 260 | const ScriptArgs args(Parser, Param, NumArgs, "zip_dir"); |
| 261 | const char* srcDir = args.str(0); |
| 262 | const char* outZipPath = args.str(1); |
| 263 | ReturnValue->Val->Integer = zipDir(srcDir, outZipPath); |
| 264 | } |
| 265 | |
| 266 | void ckpt_unzip(struct ParseState* Parser, struct Value* ReturnValue, struct Value** Param, int NumArgs) |
| 267 | { |