summaryrefslogtreecommitdiffabout
path: root/pumpkin/StringsAttached.h
Unidiff
Diffstat (limited to 'pumpkin/StringsAttached.h') (more/less context) (ignore whitespace changes)
-rw-r--r--pumpkin/StringsAttached.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/pumpkin/StringsAttached.h b/pumpkin/StringsAttached.h
new file mode 100644
index 0000000..fa73ae0
--- a/dev/null
+++ b/pumpkin/StringsAttached.h
@@ -0,0 +1,11 @@
1
2#import <Foundation/Foundation.h>
3#include <netinet/in.h>
4
5@interface NSString (StringsAttached)
6
7+ stringWithSocketAddress:(const struct sockaddr_in*)sin;
8+ stringWithHostAddress:(const struct sockaddr_in*)sin;
9+ stringWithPortNumber:(const struct sockaddr_in*)sin;
10
11@end