home *** CD-ROM | disk | FTP | other *** search
/ MPEG Toolkit / MPEG Toolkit.iso / os2 / mpegenc / misc / headers / general.h < prev   
Encoding:
C/C++ Source or Header  |  1997-01-01  |  2.4 KB  |  110 lines

  1. /*
  2.  * Copyright (c) 1993 The Regents of the University of California.
  3.  * All rights reserved.
  4.  *
  5.  * Permission to use, copy, modify, and distribute this software and its
  6.  * documentation for any purpose, without fee, and without written agreement is
  7.  * hereby granted, provided that the above copyright notice and the following
  8.  * two paragraphs appear in all copies of this software.
  9.  *
  10.  * IN NO EVENT SHALL THE UNIVERSITY OF CALIFORNIA BE LIABLE TO ANY PARTY FOR
  11.  * DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES ARISING OUT
  12.  * OF THE USE OF THIS SOFTWARE AND ITS DOCUMENTATION, EVEN IF THE UNIVERSITY OF
  13.  * CALIFORNIA HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  14.  *
  15.  * THE UNIVERSITY OF CALIFORNIA SPECIFICALLY DISCLAIMS ANY WARRANTIES,
  16.  * INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY
  17.  * AND FITNESS FOR A PARTICULAR PURPOSE.  THE SOFTWARE PROVIDED HEREUNDER IS
  18.  * ON AN "AS IS" BASIS, AND THE UNIVERSITY OF CALIFORNIA HAS NO OBLIGATION TO
  19.  * PROVIDE MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS.
  20.  */
  21.  
  22. /*  
  23.  *  $Header: /n/picasso/users/keving/src/encode/headers/RCS/general.h,v 1.3 1993/07/09 00:17:23 keving Exp keving $
  24.  *  $Log: general.h,v $
  25.  * Revision 1.3  1993/07/09  00:17:23  keving
  26.  * nothing
  27.  *
  28.  * Revision 1.2  1993/06/03  21:08:53  keving
  29.  * nothing
  30.  *
  31.  * Revision 1.1  1993/02/22  22:39:19  keving
  32.  * nothing
  33.  *
  34.  */
  35.  
  36.  
  37. /*===========================================================================*
  38.  * general.h                                     *
  39.  *                                         *
  40.  *    very general stuff                             *
  41.  *                                         *
  42.  *===========================================================================*/
  43.  
  44. #ifndef GENERAL_INCLUDED
  45. #define GENERAL_INCLUDED
  46.  
  47.  
  48. /* prototypes for library procedures
  49.  *
  50.  * if your /usr/include headers do not have these, then pass -DMISSING_PROTOS
  51.  * to your compiler
  52.  *
  53.  */ 
  54. #ifdef MISSING_PROTOS
  55. int fprintf();
  56. int fwrite();
  57. int fread();
  58. int fflush();
  59. int fclose();
  60.  
  61. int sscanf();
  62. int bzero();
  63. int bcopy();
  64. int system();
  65. int time();
  66. int perror();
  67.  
  68. int socket();
  69. int bind();
  70. int listen();
  71. int accept();
  72. int connect();
  73. int close();
  74. int read();
  75. int write();
  76.  
  77. int pclose();
  78.  
  79. #endif
  80.  
  81.  
  82. /*===========*
  83.  * CONSTANTS *
  84.  *===========*/
  85.  
  86. #ifndef NULL
  87. #define NULL 0
  88. #endif
  89.  
  90. #ifndef TRUE
  91. #define TRUE 1
  92. #define FALSE 0
  93. #endif
  94.  
  95. #define SPACE ' '
  96. #define TAB '\t'
  97. #define SEMICOLON ';'
  98. #define NULL_CHAR '\0'
  99. #define NEWLINE '\n'
  100.  
  101.  
  102. /*==================*
  103.  * TYPE DEFINITIONS *
  104.  *==================*/
  105.  
  106. typedef int boolean;
  107.  
  108.  
  109. #endif
  110.