diff options
author | 2018-07-31 19:02:18 +0200 | |
---|---|---|
committer | 2018-08-02 15:49:43 +0200 | |
commit | 10aa15afc5bc7321d0049823dd173dda11ff3724 (patch) | |
tree | 9d801d6c2336f8e98bf42c0a622b1b510b9429ea /src/afb-socket.h | |
parent | df67c029363f6d42a3e91cd62774c74b3ef66670 (diff) |
afb-socket: Separate socket creation
The objective is to have a well identified and
possibly reusable internally.
Change-Id: Icdb6ce7d85ae26373cfe4f0b492fe97b74ed747c
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
Diffstat (limited to 'src/afb-socket.h')
-rw-r--r-- | src/afb-socket.h | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/src/afb-socket.h b/src/afb-socket.h new file mode 100644 index 00000000..dff922b8 --- /dev/null +++ b/src/afb-socket.h @@ -0,0 +1,22 @@ +/* + * Copyright (C) 2018 "IoT.bzh" + * Author José Bollo <jose.bollo@iot.bzh> + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#pragma once + +struct fdev; + +extern struct fdev *afb_socket_open(const char *uri, int server); |