Ivan Yeo | db0052d | 2015-02-08 17:27:04 -0800 | [diff] [blame] | 1 | /* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ |
| 2 | /** |
Alexander Afanasyev | 63e81f9 | 2019-02-05 13:30:26 -0500 | [diff] [blame] | 3 | * Copyright (c) 2015-2019 Regents of the University of California |
Ivan Yeo | db0052d | 2015-02-08 17:27:04 -0800 | [diff] [blame] | 4 | * |
| 5 | * This file is part of NFD (Named Data Networking Forwarding Daemon) Android. |
| 6 | * See AUTHORS.md for complete list of NFD Android authors and contributors. |
| 7 | * |
| 8 | * NFD Android is free software: you can redistribute it and/or modify it under the terms |
| 9 | * of the GNU General Public License as published by the Free Software Foundation, |
| 10 | * either version 3 of the License, or (at your option) any later version. |
| 11 | * |
| 12 | * NFD Android is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; |
| 13 | * without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR |
| 14 | * PURPOSE. See the GNU General Public License for more details. |
| 15 | * |
| 16 | * You should have received a copy of the GNU General Public License along with |
| 17 | * NFD Android, e.g., in COPYING.md file. If not, see <http://www.gnu.org/licenses/>. |
| 18 | */ |
| 19 | |
| 20 | /* DO NOT EDIT THIS FILE - it is machine generated */ |
| 21 | #include <jni.h> |
Ivan Yeo | 6296dce | 2015-02-10 23:29:43 -0800 | [diff] [blame] | 22 | /* Header for class net_named_data_nfd_service_NfdService */ |
Ivan Yeo | db0052d | 2015-02-08 17:27:04 -0800 | [diff] [blame] | 23 | |
Ivan Yeo | 6296dce | 2015-02-10 23:29:43 -0800 | [diff] [blame] | 24 | #ifndef _Included_net_named_data_nfd_service_NfdService |
| 25 | #define _Included_net_named_data_nfd_service_NfdService |
Ivan Yeo | db0052d | 2015-02-08 17:27:04 -0800 | [diff] [blame] | 26 | #ifdef __cplusplus |
| 27 | extern "C" { |
| 28 | #endif |
Alexander Afanasyev | 45b7ad6 | 2015-04-19 22:00:45 -0700 | [diff] [blame] | 29 | |
Ivan Yeo | db0052d | 2015-02-08 17:27:04 -0800 | [diff] [blame] | 30 | /* |
Ivan Yeo | 6296dce | 2015-02-10 23:29:43 -0800 | [diff] [blame] | 31 | * Class: net_named_data_nfd_service_NfdService |
Ivan Yeo | db0052d | 2015-02-08 17:27:04 -0800 | [diff] [blame] | 32 | * Method: startNfd |
Alexander Afanasyev | 45b7ad6 | 2015-04-19 22:00:45 -0700 | [diff] [blame] | 33 | * Signature: (Ljava/lang/Map;)V |
Ivan Yeo | db0052d | 2015-02-08 17:27:04 -0800 | [diff] [blame] | 34 | */ |
Alexander Afanasyev | c134b6f | 2015-02-12 17:01:44 -0800 | [diff] [blame] | 35 | JNIEXPORT void JNICALL |
Alexander Afanasyev | 45b7ad6 | 2015-04-19 22:00:45 -0700 | [diff] [blame] | 36 | Java_net_named_1data_nfd_service_NfdService_startNfd(JNIEnv*, jclass, jobject); |
Ivan Yeo | db0052d | 2015-02-08 17:27:04 -0800 | [diff] [blame] | 37 | |
| 38 | /* |
Ivan Yeo | 6296dce | 2015-02-10 23:29:43 -0800 | [diff] [blame] | 39 | * Class: net_named_data_nfd_service_NfdService |
Ivan Yeo | db0052d | 2015-02-08 17:27:04 -0800 | [diff] [blame] | 40 | * Method: stopNfd |
| 41 | * Signature: ()V |
| 42 | */ |
Alexander Afanasyev | c134b6f | 2015-02-12 17:01:44 -0800 | [diff] [blame] | 43 | JNIEXPORT void JNICALL |
Ivan Yeo | 6296dce | 2015-02-10 23:29:43 -0800 | [diff] [blame] | 44 | Java_net_named_1data_nfd_service_NfdService_stopNfd(JNIEnv*, jclass); |
Ivan Yeo | db0052d | 2015-02-08 17:27:04 -0800 | [diff] [blame] | 45 | |
Alexander Afanasyev | 45b7ad6 | 2015-04-19 22:00:45 -0700 | [diff] [blame] | 46 | /* |
| 47 | * Class: net_named_data_nfd_service_NfdService |
Haitao Zhang | 0c79a9c | 2016-11-21 00:38:51 -0800 | [diff] [blame] | 48 | * Method: isNfdRunning |
| 49 | * Signature: ()L/java/lang/Boolean; |
| 50 | */ |
| 51 | JNIEXPORT jboolean JNICALL |
| 52 | Java_net_named_1data_nfd_service_NfdService_isNfdRunning(JNIEnv*, jclass); |
| 53 | |
Ivan Yeo | db0052d | 2015-02-08 17:27:04 -0800 | [diff] [blame] | 54 | #ifdef __cplusplus |
| 55 | } |
| 56 | #endif |
| 57 | #endif |