home *** CD-ROM | disk | FTP | other *** search
/ InfoMagic Internet Tools 1993 July / Internet Tools.iso / RockRidge / mail / mm / mm-0.90 / mailtypes.c < prev    next >
Encoding:
C/C++ Source or Header  |  1990-12-18  |  504 b   |  20 lines

  1. /*
  2.  * Copyright (c) 1986, 1990 by The Trustees of Columbia University in
  3.  * the City of New York.  Permission is granted to any individual or
  4.  * institution to use, copy, or redistribute this software so long as it
  5.  * is not sold for profit, provided this copyright notice is retained.
  6.  */
  7.  
  8. #include "mm.h"
  9. #include "rd.h"
  10.  
  11. main()
  12. {
  13.     int i;
  14.     extern folder_switch msg_ops[];
  15.     extern int num_msg_ops;
  16.  
  17.     for(i = 0; i < num_msg_ops; i++)
  18.     printf("int type_%s = %d;\n", msg_ops[i].typename, i);
  19. }
  20.