mkGoff.c
资源名称:unzip540.zip [点击查看]
上传用户:andy_li
上传日期:2007-01-06
资源大小:1019k
文件大小:1k
源码类别:
压缩解压
开发平台:
MultiPlatform
- /* Write out a fragment of assembly source giving offsets in globals.h: */
- #define UNZIP_INTERNAL
- #include "unzip.h"
- #include "crypt.h"
- #include <stdio.h>
- /* Keep this in sync with the definition of redirSlide in unzpriv.h: */
- #ifdef DLL
- # define pG_redirSlide pG->redirect_pointer
- #else
- # define pG_redirSlide pG->area.Slide
- #endif
- int main(int argc, char **argv)
- {
- Uz_Globs *pG = (void *) 0L;
- printf("bb EQU %lun", &pG->bb);
- printf("bk EQU %lun", &pG->bk);
- printf("wp EQU %lun", &pG->wp);
- #ifdef FUNZIP
- printf("in EQU %lun", &pG->in);
- #else
- printf("incnt EQU %lun", &pG->incnt);
- printf("inptr EQU %lun", &pG->inptr);
- printf("csize EQU %lun", &pG->csize);
- printf("mem_mode EQU %lun", &pG->mem_mode);
- #endif
- printf("slide EQU %lun", &pG_redirSlide);
- printf("SIZEOF_slide EQU %lun", sizeof(pG_redirSlide));
- printf("CRYPT EQU %dn", CRYPT);
- return 0;
- }