| 1 | #include "EXTERN.h" | ||
| 2 | #include "perl.h" | ||
| 3 | #include "XSUB.h" | ||
| 4 | |||
| 5 | #include "tclink.c" | ||
| 6 | |||
| 7 | MODULE = Net::TCLink PACKAGE = Net::TCLink | ||
| 8 | |||
| 9 | void * | ||
| 10 | TCLinkCreate() | ||
| 11 | |||
| 12 | void | ||
| 13 | TCLinkPushParam(handle, name, value) | ||
| 14 | void * handle | ||
| 15 | char * name | ||
| 16 | char * value | ||
| 17 | |||
| 18 | void | ||
| 19 | TCLinkSend(handle) | ||
| 20 | void * handle | ||
| 21 | |||
| 22 | char * | ||
| 23 | TCLinkGetEntireResponse(handle,buf) | ||
| 24 | void * handle | ||
| 25 | char * buf | ||
| 26 | CODE: | ||
| 27 | 0 | TCLinkGetEntireResponse(handle,buf,strlen(buf)); | |
| 28 | 0 | RETVAL = buf; | |
| 29 | OUTPUT: | ||
| 30 | RETVAL | ||
| 31 | |||
| 32 | void | ||
| 33 | TCLinkDestroy(handle) | ||
| 34 | void * handle | ||
| 35 |