diff options
author | Marcin MaĆagowski <marcin.malagowski@mobica.com> | 2013-03-17 13:59:51 +0100 |
---|---|---|
committer | Samuel Ortiz <sameo@linux.intel.com> | 2013-03-20 01:35:25 +0100 |
commit | 6393c7fe38a6c49c6e962d1aa7c9698e9a3892fb (patch) | |
tree | 5aba77a579a75a7fd3c7b752bbc6be2a9a608915 /plugins/p2p.h | |
parent | d8364902b34f1c3980c148d730fe2bc60d189001 (diff) | |
download | neard-6393c7fe38a6c49c6e962d1aa7c9698e9a3892fb.tar.gz neard-6393c7fe38a6c49c6e962d1aa7c9698e9a3892fb.tar.bz2 neard-6393c7fe38a6c49c6e962d1aa7c9698e9a3892fb.zip |
snep: SNEP core moved from plugins to core
This is needed for implementing SNEP unit tests.
Diffstat (limited to 'plugins/p2p.h')
-rw-r--r-- | plugins/p2p.h | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/plugins/p2p.h b/plugins/p2p.h index ceb5a77..0b5349c 100644 --- a/plugins/p2p.h +++ b/plugins/p2p.h @@ -35,16 +35,17 @@ struct near_p2p_driver { void (*close)(int client_fd, int err); }; -#define TLV_SIZE 2 - int npp_init(void); void npp_exit(void); -int snep_core_init(void); -void snep_core_exit(void); - int handover_init(void); void handover_exit(void); +int snep_init(void); +void snep_exit(void); + +int snep_validation_init(void); +void snep_validation_exit(void); + int near_p2p_register(struct near_p2p_driver *driver); void near_p2p_unregister(struct near_p2p_driver *driver); |