ptpd_exports.h 587 Bytes
Newer Older
1 2 3 4 5 6 7 8
#ifndef __PTPD_EXPORTS_H
#define __PTPD_EXPORTS_H

#include <stdio.h>
#include <stdlib.h>

#define PTPDEXP_COMMAND_TRACKING 1

9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25
extern int ptpdexp_cmd(int cmd, int value);

/* Export structures, shared by server and client for argument matching */
#ifdef PTP_EXPORT_STRUCTURES

//int ptpdexp_cmd(int cmd, int value);
struct minipc_pd __rpcdef_cmd = {
	.name = "cmd",
	.retval = MINIPC_ARG_ENCODE(MINIPC_ATYPE_INT, int),
	.args = {
		MINIPC_ARG_ENCODE(MINIPC_ATYPE_INT, int),
		MINIPC_ARG_ENCODE(MINIPC_ATYPE_INT, int),
		MINIPC_ARG_END,
	},
};

#endif /* PTP_EXPORT_STRUCTURES */
26 27

#endif