summaryrefslogtreecommitdiff
path: root/pn_cmd_node.h
blob: f43c7ffcd4353bc046e0da6c4184943bc5814ab7 (plain)
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
#ifndef PN_CMD_NODE_H
#define PN_CMD_NODE_H

#include "pn_node.h"

struct pn_cmd_node {
	struct pn_node parent;

	struct pn_cmd_node_priv *priv;
};

struct pn_cmd_node_class {
	struct pn_node_class parent_class;
};

#define PN_CMD_NODE_TYPE (pn_cmd_node_get_type())
#define PN_CMD_NODE(obj)(G_TYPE_CHECK_INSTANCE_CAST((obj), PN_CMD_NODE_TYPE, struct pn_cmd_node))

struct pn_cmd_node *pn_cmd_node_new(void);
void pn_cmd_node_free(struct pn_cmd_node *node);

void pn_cmd_node_send(struct pn_cmd_node *node,
		      const char *command,
		      const char *format, ...);

GType pn_cmd_node_get_type(void);

#endif