Add get() and list() API
[apps/agl-service-can-low-level.git] / low-can-binding / binding / low-can-hat.hpp
index 6ecad23..1f550a8 100644 (file)
@@ -15,7 +15,7 @@
  * See the License for the specific language governing permissions and
  * limitations under the License.
  */
+
 #pragma once
 
 #include <cstddef>
@@ -36,6 +36,9 @@ void on_no_clients(std::shared_ptr<low_can_subscription_t> can_subscription, std
 void on_no_clients(std::shared_ptr<low_can_subscription_t> can_subscription, uint32_t pid, std::map<int, std::shared_ptr<low_can_subscription_t> >& s);
 int read_message(sd_event_source *s, int fd, uint32_t revents, void *userdata);
 
+void auth(struct afb_req request);
 void subscribe(struct afb_req request);
 void unsubscribe(struct afb_req request);
-void swrite(struct afb_req request);
+void write(struct afb_req request);
+void get(struct afb_req request);
+void list(struct afb_req request);