Annotation of kernel/bsd/netat/at/asp_if.h, revision 1.1.1.1

1.1       root        1: /*
                      2:  * Copyright (c) 1999 Apple Computer, Inc. All rights reserved.
                      3:  *
                      4:  * @APPLE_LICENSE_HEADER_START@
                      5:  * 
                      6:  * Portions Copyright (c) 1999 Apple Computer, Inc.  All Rights
                      7:  * Reserved.  This file contains Original Code and/or Modifications of
                      8:  * Original Code as defined in and that are subject to the Apple Public
                      9:  * Source License Version 1.1 (the "License").  You may not use this file
                     10:  * except in compliance with the License.  Please obtain a copy of the
                     11:  * License at http://www.apple.com/publicsource and read it before using
                     12:  * this file.
                     13:  * 
                     14:  * The Original Code and all software distributed under the License are
                     15:  * distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY KIND, EITHER
                     16:  * EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
                     17:  * INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
                     18:  * FITNESS FOR A PARTICULAR PURPOSE OR NON-INFRINGEMENT.  Please see the
                     19:  * License for the specific language governing rights and limitations
                     20:  * under the License.
                     21:  * 
                     22:  * @APPLE_LICENSE_HEADER_END@
                     23:  */
                     24: 
                     25: /*
                     26:  *
                     27:  * ORIGINS: 82
                     28:  *
                     29:  * APPLE CONFIDENTIAL
                     30:  * (C) COPYRIGHT Apple Computer, Inc. 1992-1996
                     31:  * All Rights Reserved
                     32:  *
                     33:  */                                                                   
                     34: 
                     35: #ifndef _asp_if_h
                     36: #define _asp_if_h
                     37: 
                     38: #define ASP_Version           0x100
                     39: 
                     40: #define ASPFUNC_CloseSess     1
                     41: #define ASPFUNC_Command       2
                     42: #define ASPFUNC_GetStatus     3
                     43: #define ASPFUNC_OpenSess      4
                     44: #define ASPFUNC_Tickle        5
                     45: #define ASPFUNC_Write         6
                     46: #define ASPFUNC_WriteContinue 7
                     47: #define ASPFUNC_Attention     8
                     48: #define ASPFUNC_CmdReply      9
                     49: 
                     50: #define ASPIOC               210 /* AT_MID_ASP */
                     51: #define ASPIOC_ClientBind    ((ASPIOC<<8) | 1)
                     52: #define ASPIOC_CloseSession  ((ASPIOC<<8) | 2)
                     53: #define ASPIOC_GetLocEntity  ((ASPIOC<<8) | 3)
                     54: #define ASPIOC_GetRemEntity  ((ASPIOC<<8) | 4)
                     55: #define ASPIOC_GetSession    ((ASPIOC<<8) | 5)
                     56: #define ASPIOC_GetStatus     ((ASPIOC<<8) | 6)
                     57: #define ASPIOC_ListenerBind  ((ASPIOC<<8) | 7)
                     58: #define ASPIOC_OpenSession   ((ASPIOC<<8) | 8)
                     59: #define ASPIOC_StatusBlock   ((ASPIOC<<8) | 9)
                     60: #define ASPIOC_SetPid        ((ASPIOC<<8) |10)
                     61: #define ASPIOC_GetSessId     ((ASPIOC<<8) |11)
                     62: #define ASPIOC_EnableSelect  ((ASPIOC<<8) |12)
                     63: #define ASPIOC_Look          ((ASPIOC<<8) |13)
                     64: 
                     65: typedef struct {
                     66:        at_inet_t SLSEntityIdentifier;
                     67:        at_retry_t Retry;
                     68:        int StatusBufferSize;
                     69: } asp_status_cmd_t;
                     70: 
                     71: typedef struct {
                     72:        at_inet_t SLSEntityIdentifier;
                     73:        at_retry_t Retry;
                     74:        unsigned short TickleInterval;
                     75:        unsigned short SessionTimer;
                     76: } asp_open_cmd_t;
                     77: 
                     78: typedef struct {
                     79:        int Primitive;
                     80:        int CmdResult;
                     81:        unsigned short ReqRefNum;
                     82:        unsigned short Filler;
                     83: } asp_cmdreply_req_t;
                     84: 
                     85: typedef struct {
                     86:        int Primitive;
                     87:        int CmdResult;
                     88: } asp_cmdreply_ind_t;
                     89: 
                     90: typedef struct {
                     91:        int Primitive;
                     92:        unsigned short ReqRefNum;
                     93:        unsigned char ReqType;
                     94:        unsigned char Filler;
                     95: } asp_command_ind_t;
                     96: 
                     97: union asp_primitives {
                     98:        int Primitive;
                     99:        asp_cmdreply_ind_t CmdReplyInd;
                    100:        asp_cmdreply_req_t CmdReplyReq;
                    101:        asp_command_ind_t CommandInd;
                    102: };
                    103: 
                    104: #endif

unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.