File: portobj.h

package info (click to toggle)
pgplot5 5.2.2-19.3
  • links: PTS
  • area: non-free
  • in suites: buster, stretch
  • size: 7,136 kB
  • ctags: 6,763
  • sloc: fortran: 39,792; ansic: 22,549; objc: 1,534; sh: 1,298; makefile: 385; perl: 234; pascal: 233; tcl: 190; awk: 51; csh: 25
file content (23 lines) | stat: -rw-r--r-- 530 bytes parent folder | download | duplicates (11)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
/* Based on TCPPort.h from /NextDeveloper/Examples */

#import <Foundation/Foundation.h>
#import "dispatchobj.h"
#import "hostobj.h"

@interface portobj : NSPort
{
      id       portFile;      // the connect()ed NSFileHandle
      dispatchobj *mydispatch;
      hostobj  *hostlist;
      int      mypeer;
      int      istate;
      int      ifunc;
      int      ilen;
      int      nread;
      char     cbuf[256];
}

- (portobj *)initport:(unsigned short)ipn target:(dispatchobj *)adispatch;
- (NSMenu *) gethostmenu;

@end