• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/zip30/

Lines Matching refs:zipfile

58   /* Set the filetype of the zipfile to "application/zip" */
63 /* Set the filetype of the zipfile to "application/x-zip" */
68 /* Set the Creator/Type of the zipfile to 'IZip' and 'ZIP ' */
73 /* Set the filetype of the zipfile to &DDC */
148 if (zipfile != NULL) free((zvoid *)zipfile);
210 "Usage: zipcloak [-dq] [-b fm] zipfile",
212 "Usage: zipcloak [-dq] [-b path] zipfile",
392 zipfile = tempzip = NULL;
448 if (zipfile != NULL) {
451 } else if ((zipfile = ziptyp(argv[r])) == NULL) {
464 zipfile = NULL;
478 are returned before non-option arguments (zipfile).
531 } else if (zipfile != NULL) {
535 if ((zipfile = ziptyp(value)) == NULL) {
550 if (zipfile == NULL) ziperr(ZE_PARMS, "need to specify zip file");
553 if ((in_path = malloc(strlen(zipfile) + 1)) == NULL) {
556 strcpy(in_path, zipfile);
560 if ((out_path = malloc(strlen(zipfile) + 1)) == NULL) {
563 strcpy(out_path, zipfile);
567 if ((res = readzipfile()) != ZE_OK) ziperr(res, zipfile);
568 if (zfiles == NULL) ziperr(ZE_NAME, zipfile);
580 if ((inzip = fopen(zipfile, "a")) == NULL) ziperr(ZE_CREAT, zipfile);
582 attr = getfileattr(zipfile);
605 if ((tempzip = malloc(strlen(zipfile) + 12)) == NULL) {
608 strcpy(tempzip, zipfile);
625 if ((y = tempzf = outzip = fopen(tempzip = tempname(zipfile), FOPW)) == NULL) {
648 if ((in_file = fopen(zipfile, FOPR)) == NULL) ziperr(ZE_NAME, zipfile);
652 ziperr(res, res == ZE_TEMP ? tempzip : zipfile);
718 setfileattr(zipfile, attr);
720 /* Set the filetype of the zipfile to &DDC */
721 setfiletype(zipfile, 0xDDC);
726 free((zvoid *)zipfile);
727 zipfile = NULL;