;*DDK*************************************************************************/
;
; COPYRIGHT (C) Award Software International Inc., 1994
; COPYRIGHT    Copyright (C) 1995 IBM Corporation
;
;    The following IBM OS/2 WARP source code is provided to you solely for
;    the purpose of assisting you in your development of OS/2 WARP device
;    drivers. You may use this code in accordance with the IBM License
;    Agreement provided in the IBM Device Driver Source Kit for OS/2. This
;    Copyright statement may not be removed.;
;*****************************************************************************/
;******************************************************************************
;*
;*                              File SS_SEGM.INC
;*
;*                   Socket Services Segment Definitions
;*
;*
;*
;******************************************************************************

ifndef   __SS_SEGM_INC_
__SS_SEGM_INC_    equ     1


                OPTION  CASEMAP:none        ; Keep characters case
                OPTION  SEGMENT:USE16       ; Use 16-bit segments
?SMALL=1                                    ; Small Memory model
?WIN=0                                      ; No         support
?PLM=0                                      ; C Calling convention
?DF=1                                       ; Do not define segments
                include cmacros.inc         ; Standard definitions
                .386p
                .xlist
                 include devhlp.inc
                 include devsym.inc
                .list
                .8086

createSeg _DATA,     ResData,  WORD, PUBLIC, DATA    , DGROUP
createSeg CONST,     CONST,    WORD, PUBLIC, CONST   , DGROUP
createSeg _BSS,      BSS,      WORD, PUBLIC, BSS     , DGROUP
createSeg _TEXT,     ResCode,  WORD, PUBLIC, CODE
createSeg INIT_DATA, InitData, WORD, PUBLIC, INITDATA
createSeg INIT_CODE, InitCode, WORD, PUBLIC, INITCODE

ifndef ResCodeBASE
ResCodeBASE    equ   _TEXT
InitCodeBASE   equ   INIT_CODE
InitDataBASE   equ   INIT_DATA
InitDataOFFSET equ   offset INIT_DATA:
ResCodeOFFSET  equ   offset _TEXT:
InitCodeOFFSET equ   offset INIT_CODE:
endif

@data           equ     ResDataBASE
                .386p

endif                                       ; ifndef   __SS_SEGM_INC_
