File: ircp_client.h

package info (click to toggle)
ircp 0.3-2
  • links: PTS
  • area: main
  • in suites: sarge
  • size: 316 kB
  • ctags: 89
  • sloc: sh: 2,850; ansic: 950; makefile: 64
file content (25 lines) | stat: -rw-r--r-- 488 bytes parent folder | download
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
#ifndef IRCP_CLIENT_H
#define IRCP_CLIENT_H

#include <openobex/obex.h>
#include "ircp.h"

typedef struct ircp_client
{
	obex_t *obexhandle;
	int finished;
	int success;
	int obex_rsp;
	ircp_info_cb_t infocb;
	int fd;
	uint8_t *buf;
} ircp_client_t;


ircp_client_t *ircp_cli_open(ircp_info_cb_t infocb);
void ircp_cli_close(ircp_client_t *cli);
int ircp_cli_connect(ircp_client_t *cli);
int ircp_cli_disconnect(ircp_client_t *cli);
int ircp_put(ircp_client_t *cli, char *name);
	
#endif