File: TCLink.xs

package info (click to toggle)
libnet-tclink-perl 3.4.0-11
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 420 kB
  • sloc: ansic: 673; perl: 95; makefile: 7
file content (35 lines) | stat: -rw-r--r-- 480 bytes parent folder | download | duplicates (7)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
#include "EXTERN.h"
#include "perl.h"
#include "XSUB.h"

#include "tclink.c"

MODULE = Net::TCLink		PACKAGE = Net::TCLink

void *
TCLinkCreate()

void 
TCLinkPushParam(handle, name, value)
	void * handle
	char * name
	char * value

void 
TCLinkSend(handle)
	void * handle

char *
TCLinkGetEntireResponse(handle,buf)
	void * handle
	char * buf
	CODE:
		TCLinkGetEntireResponse(handle,buf,strlen(buf));
		RETVAL = buf;
	OUTPUT:
		RETVAL

void 
TCLinkDestroy(handle)
	void * handle