Remove use of deprecated stringWithCString
[GitX.git] / NSFileHandleExt.h
blobda59b4d6a06068917bd5eb7c4e0ec3245bced82d
1 /*
2 * Extension for NSFileHandle to make it capable of easy network programming
4 * Version 1.0, get the newest from http://michael.stapelberg.de/NSFileHandleExt.php
6 * Copyright 2007 Michael Stapelberg
8 * Distributed under BSD-License, see http://michael.stapelberg.de/BSD.php
12 #import <Cocoa/Cocoa.h>
13 #include <netinet/in.h>
14 #include <arpa/inet.h>
15 #include <netdb.h>
16 #include <fcntl.h>
18 @interface NSFileHandle(NSFileHandleExt)
19 -(NSString*)readLine;
20 @end