Changeset 554c78c in git for MP/MP/MP.h


Ignore:
Timestamp:
Sep 22, 2006, 3:00:26 PM (18 years ago)
Author:
Hans Schönemann <hannes@…>
Branches:
(u'fieker-DuVal', '117eb8c30fc9e991c4decca4832b1d19036c4c65')(u'spielwiese', 'b4f17ed1d25f93d46dbe29e4b499baecc2fd51bb')
Children:
5944b4f4a9a57cbb77fbcdb5e50a7c4f5834adc0
Parents:
83c7c5579d2a5fec938d659cadfdc8f68e59faf7
Message:
*hannes/krueger: syntax, format


git-svn-id: file:///usr/local/Singular/svn/trunk@9424 2c84dea3-7e68-4137-9b89-c4e89433aadc
File:
1 edited

Legend:

Unmodified
Added
Removed
  • MP/MP/MP.h

    r83c7c5 r554c78c  
    22/* MP.h automatically generated by ./makeheader.pl */
    33/****************************************************************
    4  *                 
    5  *   HEADER FILE:  MP.h                 
    6  *       
     4 *
     5 *   HEADER FILE:  MP.h
     6 *
    77 *        Everything we need.  Saves doing a zillion includes
    88 *        in user programs.
     
    6464/***************************************************************************
    6565 *
    66  *   HEADER FILE:  MP_Types.h                                         
    67  *                                                               
    68  *        Most of the typedefs needed by MP are here, including the definition 
    69  *      of node and annotation packets.                 
    70  *       
     66 *   HEADER FILE:  MP_Types.h
     67 *
     68 *        Most of the typedefs needed by MP are here, including the definition
     69 *      of node and annotation packets.
     70 *
    7171 *   Change Log:
    72  *     May 30, 1995 SG - added defines for new types for MP 1.0       
     72 *     May 30, 1995 SG - added defines for new types for MP 1.0
    7373 *     December 12, 1995 SG - added ifdef for AIX per Hannes' instructions
    7474 *     December 20, 1995 SG - added enum for fp format
     
    345345
    346346/* global variables - maps annotation numbers to string
    347  * identifying the annotation - used for testing.  See 
     347 * identifying the annotation - used for testing.  See
    348348 * the corresponding dictionary for the defines.
    349349 */
     
    432432/* Stuff included from h/MP_Error.h */
    433433/***************************************************************************
    434  *                                                                 
    435  *   HEADER FILE:  MP_Error.h 
    436  * 
     434 *
     435 *   HEADER FILE:  MP_Error.h
     436 *
    437437 *        All the error encodings and the routines the set clear
    438438 *        and print errors.
    439  *                                                               
     439 *
    440440 *  Change Log:
    441441 *       10/18/95 OB      - put MP_Failure, MP_Success into enum MP_Errors
     
    520520/* Stuff included from h/MP_BuffTypes.h */
    521521/****************************************************************
    522  *                                                                 
     522 *
    523523 *   HEADER FILE:  MP_BuffTypes.h
    524524 *
     
    529529#define _MP_BuffTypes_h
    530530
    531  
     531
    532532#define MP_MINIMUM_BUFF_SIZE       512
    533533#define MP_DEFAULT_BUFF_SIZE      1024
     
    547547        int      buff_size;           /* buffer size */
    548548        int      max_free_buff;       /* max. no. of free buff. */
    549         int      curr_free_buff;      /* current no. of free buff. */ 
     549        int      curr_free_buff;      /* current no. of free buff. */
    550550        buffer_handle_pt   buff;      /* ptr to list of buff handle */
    551551};
     
    558558/* Stuff included from h/MP_Memory.h */
    559559/****************************************************************
    560  *                                                                 
     560 *
    561561 *   HEADER FILE:  MP_Memory.h
    562  *                                                               
     562 *
    563563 ***************************************************************/
    564564
     
    570570#include EXTERNAL_MALLOC_H
    571571#else
    572  
     572
    573573EXTERN void* (*IMP_MemAllocFnc) _ANSI_ARGS_((size_t));
    574574EXTERN void* (*IMP_MemReallocFnc) _ANSI_ARGS_((void *, size_t, size_t));
     
    588588/* Stuff included from h/MP_BigNum.h */
    589589/****************************************************************
    590  *                                                                 
     590 *
    591591 *   HEADER FILE:  MP_BigNum.h
    592  *                       
     592 *
    593593 * The relevant declarations for the handling of BigNums
    594594 *
     
    634634    MP_BigNumFormat_t native_bigint_format;
    635635    MP_BigIntOps_pt   bigint_ops;
    636     MP_BigNumFormat_t native_bigreal_format; 
    637     MP_BigRealOps_pt  bigreal_ops; 
     636    MP_BigNumFormat_t native_bigreal_format;
     637    MP_BigRealOps_pt  bigreal_ops;
    638638} MP_BigNum_t;
    639639
     
    652652/* Stuff included from h/MP_Env.h */
    653653/***************************************************************************
    654  *                                                                 
    655  *   HEADER FILE:  MP_Env.h 
    656  * 
     654 *
     655 *   HEADER FILE:  MP_Env.h
     656 *
    657657 *        Declarations to maintain the MP environment.  The environment
    658658 *        includes the name of the host machine, the log file name and
     
    660660 *      to be shared among the links.  The initialization should be
    661661 *      done once before any MP-related activities occur.
    662  *                                                               
     662 *
    663663 *  Change Log:
    664664 *       September 10, 1995  SG - Updated implementation.  Much cleaning
     
    671671 ***************************************************************************/
    672672#ifndef _MP_Env_h
    673 #define _MP_Env_h 
     673#define _MP_Env_h
    674674
    675675
     
    692692
    693693/*
    694  * Options that can be set for an environment 
     694 * Options that can be set for an environment
    695695 */
    696696#define MP_BUFFER_SIZE_OPT       1
     
    727727    MP_TranspList_pt transp_dev_list; /* list of supported transport devices */
    728728    buffer_pool_pt   buff_pool;       /* buffer pool shared by  links in this
    729                                        *  env 
     729                                       *  env
    730730                                       */
    731731    int   num_o_buff;
    732732    int   buffer_size;                /* size of each buffer in the pool     */
    733     int   max_free_buffers;           /* max number of free buffers in the 
     733    int   max_free_buffers;           /* max number of free buffers in the
    734734                                       * pool
    735735                                       */
    736736
    737737    int   init_free_buffers;          /* initial number of free buffers in the
    738                                        * pool 
     738                                       * pool
    739739                                       */
    740740
     
    746746    char  *logfilename;
    747747    char  thishost[MP_HOST_NAME_LEN];
    748     MP_Boolean_t initialized;         /* can't set options after env has been 
     748    MP_Boolean_t initialized;         /* can't set options after env has been
    749749                                       * init
    750750                                       */
     
    763763EXTERN int MP_SetEnvOption _ANSI_ARGS_((MP_Env_pt env, int option, int value));
    764764EXTERN int    MP_GetEnvOption _ANSI_ARGS_((MP_Env_pt env, int option));
    765 EXTERN MP_TranspList_pt IMP_GetTranspByName _ANSI_ARGS_((MP_Env_pt env, 
     765EXTERN MP_TranspList_pt IMP_GetTranspByName _ANSI_ARGS_((MP_Env_pt env,
    766766                                                         int transp_dev));
    767 EXTERN MP_Status_t MP_AddEnvTranspDevice _ANSI_ARGS_((MP_Env_pt env, 
     767EXTERN MP_Status_t MP_AddEnvTranspDevice _ANSI_ARGS_((MP_Env_pt env,
    768768                                        int transp_dev, MP_TranspOps_t *ops));
    769 EXTERN MP_Status_t MP_SetEnvBigIntFormat _ANSI_ARGS_((MP_Env_t *env, 
     769EXTERN MP_Status_t MP_SetEnvBigIntFormat _ANSI_ARGS_((MP_Env_t *env,
    770770                             MP_BigIntOps_t *ops, MP_BigNumFormat_t format));
    771 EXTERN MP_Status_t MP_SetEnvBigRealFormat _ANSI_ARGS_((MP_Env_t *env, 
     771EXTERN MP_Status_t MP_SetEnvBigRealFormat _ANSI_ARGS_((MP_Env_t *env,
    772772                             MP_BigRealOps_t *ops, MP_BigNumFormat_t format));
    773773EXTERN MP_Status_t open_logfile _ANSI_ARGS_((MP_ENV env));
     
    776776/* Stuff included from h/MP_Link.h */
    777777/****************************************************************
    778  *                                                                 
     778 *
    779779 *   HEADER FILE:  MP_Link.h
    780780 *
    781781 *   struct link is adapted from the Sun XDR distribution.
    782  *   Copyright (C) 1984, Sun Microsystems, Inc. 
     782 *   Copyright (C) 1984, Sun Microsystems, Inc.
    783783 *
    784784 ***************************************************************/
     
    790790#define MP_SEND_FRAG_MSG      1
    791791#define MP_SEND_WHOLE_MSG     2
    792 #define MP_DEFAULT_SEND_MODE  MP_SEND_FRAG_MSG 
     792#define MP_DEFAULT_SEND_MODE  MP_SEND_FRAG_MSG
    793793
    794794/* Receiving modes */
     
    796796#define MP_RECV_FRAG_MSG_SENDER   2
    797797#define MP_RECV_WHOLE_MSG         3
    798 #define MP_DEFAULT_RECV_MODE      MP_RECV_FRAG_MSG_RECVER 
     798#define MP_DEFAULT_RECV_MODE      MP_RECV_FRAG_MSG_RECVER
    799799
    800800/* Options that can be set for a link */
     
    911911/* Stuff included from h/MP_Buffer.h */
    912912/****************************************************************
    913  *                                                                 
     913 *
    914914 *   HEADER FILE:  MP_Buffer.h
    915915 *
     
    942942/* Stuff included from h/MP_Util.h */
    943943/****************************************************************
    944  *                                                                 
     944 *
    945945 *   HEADER FILE:  MP_Util.h
    946946 *
     
    958958#define MP_CONTROL_EVENT "CntrlE "
    959959
    960 /* 
    961  * Logging is done on a per link basis.  The user is allowed to 
     960/*
     961 * Logging is done on a per link basis.  The user is allowed to
    962962 * specify which events to log.  The default is to log all events.
    963963 * Error events are always logged and cannot be disabled.
     
    983983EXTERN void MP_LogEvent _ANSI_ARGS_((MP_Link_pt link, char *event, char *msg));
    984984
    985 EXTERN MP_Status_t MP_SetError _ANSI_ARGS_((MP_Link_pt link, 
     985EXTERN MP_Status_t MP_SetError _ANSI_ARGS_((MP_Link_pt link,
    986986                                            MP_Status_t the_err));
    987987
    988 #define MP_ClearError(link) ((link)->MP_errno = MP_Success)
     988#define MP_ClearError(link) ((MP_Status_t) (link)->MP_errno = MP_Success)
    989989
    990990EXTERN void MP_PrintError _ANSI_ARGS_((MP_Link_pt link));
     
    10191019/* Stuff included from h/MP_Put.h */
    10201020/****************************************************************
    1021  *                                                                 
     1021 *
    10221022 *   HEADER FILE:  MP_Put.h
    1023  *                       
     1023 *
    10241024 ***************************************************************/
    10251025
     
    10311031EXTERN MP_Status_t  MP_PutAnnotationPacket _ANSI_ARGS_((MP_Link_pt link,
    10321032                                                        MP_DictTag_t dtag,
    1033                                                         MP_AnnotType_t atype, 
     1033                                                        MP_AnnotType_t atype,
    10341034                                                        MP_AnnotFlags_t flags));
    10351035
    1036 EXTERN MP_Status_t  MP_PutApIntPacket _ANSI_ARGS_((MP_Link_pt link, 
     1036EXTERN MP_Status_t  MP_PutApIntPacket _ANSI_ARGS_((MP_Link_pt link,
    10371037                                                   MP_ApInt_t apint,
    10381038                                                   MP_NumAnnot_t  num_annots));
    10391039
    1040 EXTERN MP_Status_t  MP_PutApRealPacket _ANSI_ARGS_((MP_Link_pt link, 
    1041                                                     MP_ApReal_t apreal, 
     1040EXTERN MP_Status_t  MP_PutApRealPacket _ANSI_ARGS_((MP_Link_pt link,
     1041                                                    MP_ApReal_t apreal,
    10421042                                                    MP_NumAnnot_t num_annots));
    10431043
    10441044EXTERN MP_Status_t  MP_PutSint32Packet _ANSI_ARGS_((MP_Link_pt link,
    1045                                                     MP_Sint32_t  n, 
     1045                                                    MP_Sint32_t  n,
    10461046                                                    MP_NumAnnot_t  num_annots));
    10471047
    1048 EXTERN MP_Status_t  MP_PutUint32Packet _ANSI_ARGS_((MP_Link_pt link, 
    1049                                                     MP_Uint32_t  n, 
     1048EXTERN MP_Status_t  MP_PutUint32Packet _ANSI_ARGS_((MP_Link_pt link,
     1049                                                    MP_Uint32_t  n,
    10501050                                                    MP_NumAnnot_t  num_annots));
    10511051
    10521052EXTERN MP_Status_t  MP_PutSint8Packet _ANSI_ARGS_((MP_Link_pt link,
    1053                                                    MP_Sint8_t n, 
     1053                                                   MP_Sint8_t n,
    10541054                                                   MP_NumAnnot_t  num_annots));
    10551055
    1056 EXTERN MP_Status_t  MP_PutUint8Packet _ANSI_ARGS_((MP_Link_pt link, 
     1056EXTERN MP_Status_t  MP_PutUint8Packet _ANSI_ARGS_((MP_Link_pt link,
    10571057                                                   MP_Uint8_t n,
    10581058                                                   MP_NumAnnot_t  num_annots));
    10591059
    1060 EXTERN MP_Status_t  MP_PutBooleanPacket _ANSI_ARGS_((MP_Link_pt link, 
     1060EXTERN MP_Status_t  MP_PutBooleanPacket _ANSI_ARGS_((MP_Link_pt link,
    10611061                                                     MP_Boolean_t n,
    10621062                                                     MP_NumAnnot_t num_annots));
    10631063
    1064 EXTERN MP_Status_t  MP_PutReal32Packet _ANSI_ARGS_((MP_Link_pt link, 
    1065                                                     MP_Real32_t n, 
     1064EXTERN MP_Status_t  MP_PutReal32Packet _ANSI_ARGS_((MP_Link_pt link,
     1065                                                    MP_Real32_t n,
    10661066                                                    MP_NumAnnot_t  num_annots));
    10671067
    1068 EXTERN MP_Status_t  MP_PutReal64Packet _ANSI_ARGS_((MP_Link_pt link, 
    1069                                                     MP_Real64_t n, 
     1068EXTERN MP_Status_t  MP_PutReal64Packet _ANSI_ARGS_((MP_Link_pt link,
     1069                                                    MP_Real64_t n,
    10701070                                                    MP_NumAnnot_t  num_annots));
    10711071
    10721072EXTERN MP_Status_t  MP_PutOperatorPacket _ANSI_ARGS_((MP_Link_pt link,
    1073                                                       MP_DictTag_t dtag, 
    1074                                                       char *op, 
    1075                                                       MP_NumAnnot_t num_annots, 
     1073                                                      MP_DictTag_t dtag,
     1074                                                      char *op,
     1075                                                      MP_NumAnnot_t num_annots,
    10761076                                                      MP_NumChild_t num_child));
    10771077EXTERN MP_Status_t  MP_PutMetaOperatorPacket _ANSI_ARGS_((MP_Link_pt link,
     
    10841084                                                            MP_DictTag_t dtag,
    10851085                                                            MP_Common_t op,
    1086                                                             MP_NumAnnot_t num_annots, 
     1086                                                            MP_NumAnnot_t num_annots,
    10871087                                                            MP_NumChild_t num_child));
    10881088
     
    10981098
    10991099EXTERN MP_Status_t  MP_PutRawPacket _ANSI_ARGS_((MP_Link_pt link,
    1100                                                  char *data, 
     1100                                                 char *data,
    11011101                                                 MP_Uint32_t len,
    11021102                                                 MP_NumAnnot_t  num_annots));
    11031103
    1104 EXTERN MP_Status_t  MP_PutConstantPacket _ANSI_ARGS_((MP_Link_pt link, 
     1104EXTERN MP_Status_t  MP_PutConstantPacket _ANSI_ARGS_((MP_Link_pt link,
    11051105                                                      MP_DictTag_t dtag,
    11061106                                                      char *cnst,
     
    11081108
    11091109EXTERN MP_Status_t  MP_PutCommonConstantPacket _ANSI_ARGS_((MP_Link_pt link,
    1110                                                             MP_DictTag_t dtag, 
     1110                                                            MP_DictTag_t dtag,
    11111111                                                            MP_Common_t cnst,
    11121112                                                            MP_NumAnnot_t num_annots));
     
    11451145
    11461146EXTERN MP_Status_t  IMP_PutApInt _ANSI_ARGS_((MP_Link_pt link,
    1147                                               MP_ApInt_t apint)); 
     1147                                              MP_ApInt_t apint));
    11481148
    11491149EXTERN MP_Status_t  IMP_PutApReal _ANSI_ARGS_((MP_Link_pt link,
    11501150                                               MP_ApReal_t apreal));
    11511151
    1152 EXTERN MP_Status_t  IMP_PutBoolean _ANSI_ARGS_((MP_Link_pt link, 
     1152EXTERN MP_Status_t  IMP_PutBoolean _ANSI_ARGS_((MP_Link_pt link,
    11531153                                                MP_Boolean_t n));
    11541154
     
    11751175                                            MP_Uint32_t len));
    11761176
    1177 EXTERN MP_Status_t  IMP_PutNodeHeader _ANSI_ARGS_((MP_Link_pt link, 
     1177EXTERN MP_Status_t  IMP_PutNodeHeader _ANSI_ARGS_((MP_Link_pt link,
    11781178                                                   MP_NodeType_t ntype,
    11791179                                                   MP_DictTag_t dtag,
    1180                                                    MP_Common_t cval, 
     1180                                                   MP_Common_t cval,
    11811181                                                   MP_NumAnnot_t num_annots,
    11821182                                                   MP_NumChild_t num_child));
     
    11901190*  defines for putting a string-based type to the data stream.
    11911191*  The prototype
    1192 *        IMP_PutStringBasedTypePacket  (MP_Link_pt link, char *s, 
     1192*        IMP_PutStringBasedTypePacket  (MP_Link_pt link, char *s,
    11931193*                MP_NumAnnot_t  num_annots, MP_NodeType _t ntype)
    11941194*  clarifies the type of the arguments.
     
    12051205/* Stuff included from h/MP_Get.h */
    12061206/****************************************************************
    1207  *                                                                 
     1207 *
    12081208 *   HEADER FILE:  MP_Get.h
    1209  *                       
     1209 *
    12101210 ***************************************************************/
    12111211
     
    12171217                                MP_AnnotFlags_t *flags));
    12181218
    1219 EXTERN MP_Status_t  MP_GetApIntPacket _ANSI_ARGS_((MP_Link_pt link, 
     1219EXTERN MP_Status_t  MP_GetApIntPacket _ANSI_ARGS_((MP_Link_pt link,
    12201220                        MP_ApInt_pt apint, MP_NumAnnot_t *num_annots));
    12211221
    1222 EXTERN MP_Status_t  MP_GetApRealPacket _ANSI_ARGS_((MP_Link_pt link, 
     1222EXTERN MP_Status_t  MP_GetApRealPacket _ANSI_ARGS_((MP_Link_pt link,
    12231223                        MP_ApReal_pt apreal, MP_NumAnnot_t *num_annots));
    12241224
     
    12261226                                    MP_Sint32_t *n, MP_NumAnnot_t *num_annots));
    12271227
    1228 EXTERN MP_Status_t  MP_GetUint32Packet _ANSI_ARGS_((MP_Link_pt link, 
     1228EXTERN MP_Status_t  MP_GetUint32Packet _ANSI_ARGS_((MP_Link_pt link,
    12291229                                    MP_Uint32_t *n, MP_NumAnnot_t *num_annots));
    12301230
    1231 EXTERN MP_Status_t  MP_GetSint8Packet _ANSI_ARGS_((MP_Link_pt link, 
     1231EXTERN MP_Status_t  MP_GetSint8Packet _ANSI_ARGS_((MP_Link_pt link,
    12321232                                    MP_Sint8_t *n,  MP_NumAnnot_t *num_annots));
    12331233
    1234 EXTERN MP_Status_t  MP_GetUint8Packet _ANSI_ARGS_((MP_Link_pt link, 
     1234EXTERN MP_Status_t  MP_GetUint8Packet _ANSI_ARGS_((MP_Link_pt link,
    12351235                                     MP_Uint8_t *n, MP_NumAnnot_t *num_annots));
    12361236
    1237 EXTERN MP_Status_t MP_GetBooleanPacket _ANSI_ARGS_((MP_Link_pt link, 
     1237EXTERN MP_Status_t MP_GetBooleanPacket _ANSI_ARGS_((MP_Link_pt link,
    12381238                                   MP_Boolean_t *n, MP_NumAnnot_t *num_annots));
    12391239
    1240 EXTERN MP_Status_t  MP_GetReal32Packet _ANSI_ARGS_((MP_Link_pt link, 
     1240EXTERN MP_Status_t  MP_GetReal32Packet _ANSI_ARGS_((MP_Link_pt link,
    12411241                                    MP_Real32_t *n, MP_NumAnnot_t *num_annots));
    12421242
    1243 EXTERN MP_Status_t  MP_GetReal64Packet _ANSI_ARGS_((MP_Link_pt link, 
     1243EXTERN MP_Status_t  MP_GetReal64Packet _ANSI_ARGS_((MP_Link_pt link,
    12441244                                    MP_Real64_t *n, MP_NumAnnot_t *num_annots));
    12451245
     
    12481248                          MP_NumAnnot_t *num_annots, MP_NumChild_t *num_child));
    12491249
    1250 EXTERN MP_Status_t MP_GetCommonOperatorPacket _ANSI_ARGS_((MP_Link_pt link, 
    1251                          MP_DictTag_t *dtag, MP_Common_t *op, 
     1250EXTERN MP_Status_t MP_GetCommonOperatorPacket _ANSI_ARGS_((MP_Link_pt link,
     1251                         MP_DictTag_t *dtag, MP_Common_t *op,
    12521252                         MP_NumAnnot_t *num_annots,  MP_NumChild_t *num_child));
    12531253
    1254 EXTERN MP_Status_t MP_GetCommonMetaTypePacket _ANSI_ARGS_((MP_Link_pt link, 
    1255                                         MP_DictTag_t *dtag, MP_Common_t *cmt, 
     1254EXTERN MP_Status_t MP_GetCommonMetaTypePacket _ANSI_ARGS_((MP_Link_pt link,
     1255                                        MP_DictTag_t *dtag, MP_Common_t *cmt,
    12561256                                                  MP_NumAnnot_t *num_annots));
    12571257
    1258 EXTERN MP_Status_t MP_GetIdentifierPacket _ANSI_ARGS_((MP_Link_pt link, 
    1259                                               MP_DictTag_t *dtag, char **id, 
     1258EXTERN MP_Status_t MP_GetIdentifierPacket _ANSI_ARGS_((MP_Link_pt link,
     1259                                              MP_DictTag_t *dtag, char **id,
    12601260                                              MP_NumAnnot_t *num_annots));
    12611261
    1262 EXTERN MP_Status_t MP_GetCommonLatinIdentifierPacket _ANSI_ARGS_((MP_Link_pt 
     1262EXTERN MP_Status_t MP_GetCommonLatinIdentifierPacket _ANSI_ARGS_((MP_Link_pt
    12631263                                 link,  MP_DictTag_t *dtag, MP_Common_t *id,
    12641264                                 MP_NumAnnot_t *num_annots));
    12651265
    12661266EXTERN MP_Status_t MP_GetCommonGreekIdentifierPacket _ANSI_ARGS_((MP_Link_pt
    1267                              link, MP_DictTag_t *dtag, MP_Common_t *id, 
     1267                             link, MP_DictTag_t *dtag, MP_Common_t *id,
    12681268                             MP_NumAnnot_t *num_annots));
    12691269
     
    12711271                                                          MP_NumAnnot_t *num_annots));
    12721272
    1273 EXTERN MP_Status_t MP_GetConstantPacket _ANSI_ARGS_((MP_Link_pt link, 
    1274                                  MP_DictTag_t *dtag, char **cnst, 
     1273EXTERN MP_Status_t MP_GetConstantPacket _ANSI_ARGS_((MP_Link_pt link,
     1274                                 MP_DictTag_t *dtag, char **cnst,
    12751275                                 MP_NumAnnot_t *num_annots));
    12761276
    12771277EXTERN MP_Status_t MP_GetCommonConstantPacket _ANSI_ARGS_((MP_Link_pt link,
    1278                             MP_DictTag_t *dtag, MP_Common_t *cnst, 
     1278                            MP_DictTag_t *dtag, MP_Common_t *cnst,
    12791279                            MP_NumAnnot_t *num_annots));
    12801280
    1281 EXTERN MP_Status_t MP_GetMetaTypePacket _ANSI_ARGS_((MP_Link_pt link, 
     1281EXTERN MP_Status_t MP_GetMetaTypePacket _ANSI_ARGS_((MP_Link_pt link,
    12821282                        MP_DictTag_t *dtag, char **m,
    12831283                        MP_NumAnnot_t *num_annots));
     
    12951295EXTERN MP_Status_t IMP_GetUint32 _ANSI_ARGS_((MP_Link_pt link, MP_Uint32_t *n));
    12961296
    1297 EXTERN MP_Status_t IMP_GetNodeHeader _ANSI_ARGS_((MP_Link_pt link, 
     1297EXTERN MP_Status_t IMP_GetNodeHeader _ANSI_ARGS_((MP_Link_pt link,
    12981298                          MP_NodeType_t *ntype, MP_DictTag_t *dtag,
    12991299                          MP_Common_t *cv, MP_NumAnnot_t *num_annots,
    13001300                          MP_NumChild_t *num_child));
    13011301
    1302 EXTERN MP_Status_t IMP_GetStringBasedType _ANSI_ARGS_((MP_Link_pt link, 
     1302EXTERN MP_Status_t IMP_GetStringBasedType _ANSI_ARGS_((MP_Link_pt link,
    13031303                                                        char **s));
    13041304
     
    13341334/* Stuff included from h/MP_FileTransp.h */
    13351335/***************************************************************************
    1336  *                                                                 
     1336 *
    13371337 *   HEADER FILE:  MP_FileTransp.h
    1338  * 
     1338 *
    13391339 *        Declarations for the "file" transport device.
    1340  *                                                               
     1340 *
    13411341 *  Change Log:
    13421342 *       September 10, 1995  SG - Updated implementation.  Much cleaning
     
    14841484/* Stuff included from h/MP_Vector.h */
    14851485/****************************************************************
    1486  *                                                                 
     1486 *
    14871487 *   HEADER FILE:  MP_Vector.h
    1488  *                                                               
     1488 *
    14891489 ***************************************************************/
    14901490
     
    15371537
    15381538EXTERN MP_Status_t
    1539 IMP_GetReal64Vector _ANSI_ARGS_((MP_Link_pt link, 
     1539IMP_GetReal64Vector _ANSI_ARGS_((MP_Link_pt link,
    15401540                                 MP_Real64_t **dvec, MP_NumChild_t len));
    15411541
     
    15661566/* Stuff included from h/MP_GmpBigInt.h */
    15671567/****************************************************************
    1568  *                                                                 
     1568 *
    15691569 *   HEADER FILE:  MP_GmpBigInt.h
    15701570 *
     
    15921592EXTERN long IMP_GmpIntAsciiSize _ANSI_ARGS_((MP_ApInt_t mp_apint));
    15931593
    1594 #endif /* MP_HAVE_GMP_APINT */ 
     1594#endif /* MP_HAVE_GMP_APINT */
    15951595
    15961596#endif /* _MP_GmpBigInt_h */
     
    15981598/* Stuff included from h/MP_GmpBigReal.h */
    15991599/****************************************************************
    1600  *                                                                 
     1600 *
    16011601 *   HEADER FILE:  MP_GmpBigReal.h
    16021602 *
     
    16281628/* Stuff included from h/MP_PariBigInt.h */
    16291629/****************************************************************
    1630  *                                                                 
     1630 *
    16311631 * HEADER FILE:  MP_PariBigInt.h
    16321632 * Authors:  O. Bachmann, T. Metzner, H. Schoenemann, A. Sorgatz
    16331633 * Date:    February 97
    1634  *                                                               
     1634 *
    16351635 ***************************************************************/
    16361636
     
    16561656EXTERN MP_Status_t IMP_GetPariBigInt _ANSI_ARGS_((MP_Link_pt link,
    16571657                                                 MP_ApInt_t *pari_number));
    1658 EXTERN MP_Status_t IMP_PutPariBigInt _ANSI_ARGS_((MP_Link_pt link, 
     1658EXTERN MP_Status_t IMP_PutPariBigInt _ANSI_ARGS_((MP_Link_pt link,
    16591659                                                 MP_ApInt_t pari_number));
    16601660EXTERN char* IMP_PariBigIntToStr _ANSI_ARGS_((MP_ApInt_t pari_number,
     
    16641664/* Memory mamagment for Pari BigInts:
    16651665   By default, the following functions are simple cgeti and empty;
    1666    You can reset this at run-time to whatever fits your needs 
     1666   You can reset this at run-time to whatever fits your needs
    16671667*/
    16681668EXTERN GEN (*IMP_AllocCgeti) _ANSI_ARGS_((long));
     
    16811681/* Stuff included from h/MP_PvmTransp.h */
    16821682/***************************************************************************
    1683  *                                                                 
     1683 *
    16841684 *   HEADER FILE:  MP_PvmTransp.h
    1685  * 
     1685 *
    16861686 *
    16871687 *  Change Log:
     
    17081708} MP_PVM_t;
    17091709
    1710 /*#include "/tmp_mnt/home/Owl/sgray/MP/MP/MP_PvmTransp.c" */ 
     1710/*#include "/tmp_mnt/home/Owl/sgray/MP/MP/MP_PvmTransp.c" */
    17111711
    17121712#endif /*  MP_HAVE_PVM */
     
    17161716/* Stuff included from h/MP_SacBigInt.h */
    17171717/****************************************************************
    1718  *                                                                 
     1718 *
    17191719 *   HEADER FILE:  MP_SacBigInt.h
    1720  *                                                               
     1720 *
    17211721 ***************************************************************/
    17221722
     
    17321732EXTERN MP_BigIntOps_t sac_ops;
    17331733
    1734 EXTERN MP_Status_t IMP_PutSacBigInt _ANSI_ARGS_((MP_Link_pt link, 
     1734EXTERN MP_Status_t IMP_PutSacBigInt _ANSI_ARGS_((MP_Link_pt link,
    17351735                                                 MP_ApInt_t sac_int));
    17361736
     
    17381738                                                 MP_ApInt_t *sac_int));
    17391739
    1740 EXTERN char * IMP_SacBigIntToStr _ANSI_ARGS_((MP_ApInt_t big_int, 
     1740EXTERN char * IMP_SacBigIntToStr _ANSI_ARGS_((MP_ApInt_t big_int,
    17411741                                             char *buffer));
    17421742
     
    17491749/* Stuff included from h/MP_TbTransp.h */
    17501750/***************************************************************************
    1751  *                                                                 
     1751 *
    17521752 *   HEADER FILE:  MP_TbTransp.h
    1753  * 
     1753 *
    17541754 *   PURPOSE: ToolBus stuff - not much to do.
    17551755 *
     
    17791779} MP_TB_t;
    17801780
    1781 EXTERN MP_Status_t MP_TbPutMsg _ANSI_ARGS_((MP_Link_pt link, char **tb_data, 
    1782                                             unsigned long *len)); 
    1783 EXTERN MP_Status_t MP_TbGetMsg _ANSI_ARGS_((MP_Link_pt link, char *tb_data, 
    1784                                             unsigned long len)); 
     1781EXTERN MP_Status_t MP_TbPutMsg _ANSI_ARGS_((MP_Link_pt link, char **tb_data,
     1782                                            unsigned long *len));
     1783EXTERN MP_Status_t MP_TbGetMsg _ANSI_ARGS_((MP_Link_pt link, char *tb_data,
     1784                                            unsigned long len));
    17851785EXTERN MP_Status_t MP_TbSetTerm _ANSI_ARGS_((MP_Link_pt link, term *t));
    17861786
    1787 /* 
     1787/*
    17881788 * if your device may not be available everywhere you want to use MP,
    17891789 * don't try to compile the source into the library as the link will
     
    18041804/***************************************************************************
    18051805 *
    1806  *   HEADER FILE:  MP_BasicDict.h                                         
    1807  *                                                               
     1806 *   HEADER FILE:  MP_BasicDict.h
     1807 *
    18081808 *      The MP basic dictionary (definitions and declarations)
    1809  *     
    1810  *       
     1809 *
     1810 *
    18111811 *   Change Log:
    18121812 *      1/97 obachman  -- this is a first try
     
    18411841#define MP_CopBasicAnd              15
    18421842#define MP_CopBasicOr               16
    1843 #define MP_CopBasicEqual            17   
     1843#define MP_CopBasicEqual            17
    18441844#define MP_CopBasicNotEqual         18
    18451845#define MP_CopBasicRange            19
    18461846#define MP_CopBasicIndex            20
    18471847#define MP_CopBasicDiff             21
    1848 #define MP_CopBasicInterSect        22       
     1848#define MP_CopBasicInterSect        22
    18491849#define MP_CopBasicSubst            23
    18501850#define MP_CopBasicNot              24
     
    19051905/***************************************************************************
    19061906 *
    1907  *   HEADER FILE:  MP_NumberDict.h                                         
    1908  *                                                               
     1907 *   HEADER FILE:  MP_NumberDict.h
     1908 *
    19091909 *      The Numbertype dictionary (definitions and declarations)
    1910  *     
    1911  *       
     1910 *
     1911 *
    19121912 *   Change Log:
    19131913 *
     
    19601960/***************************************************************************
    19611961 *
    1962  *   HEADER FILE:  MP_ProtoDict.h                                         
    1963  *                                                               
     1962 *   HEADER FILE:  MP_ProtoDict.h
     1963 *
    19641964 *      The prototype dictionary (definitions and declarations)
    1965  *     
    1966  *       
     1965 *
     1966 *
    19671967 *   Change Log:
    19681968 *
     
    20592059/***************************************************************************
    20602060 *
    2061  *   HEADER FILE:  MP_PolyDict.h                                         
    2062  *                                                               
     2061 *   HEADER FILE:  MP_PolyDict.h
     2062 *
    20632063 *      The Polytype dictionary (definitions and declarations)
    2064  *     
    2065  *       
     2064 *
     2065 *
    20662066 *   Change Log:
    20672067 *
     
    20952095 *
    20962096 ***************************************************************************/
    2097 #define MP_CcPolyOrdering_Unknown       0 
     2097#define MP_CcPolyOrdering_Unknown       0
    20982098#define MP_CcPolyOrdering_Vector        1 /* a */
    20992099#define MP_CcPolyOrdering_Matrix        2 /* M */
     
    21932193/***************************************************************************
    21942194 *
    2195  *   HEADER FILE:  MP_MatrixDict.h                                         
    2196  *                                                               
     2195 *   HEADER FILE:  MP_MatrixDict.h
     2196 *
    21972197 *      The Matrixtype dictionary (definitions and declarations)
    2198  *     
    2199  *       
     2198 *
     2199 *
    22002200 *   Change Log:
    22012201 *
Note: See TracChangeset for help on using the changeset viewer.