diff options
Diffstat (limited to 'include/net/caif/caif_dev.h')
-rw-r--r-- | include/net/caif/caif_dev.h | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/include/net/caif/caif_dev.h b/include/net/caif/caif_dev.h index 3aa1ff642323..318ab9478a44 100644 --- a/include/net/caif/caif_dev.h +++ b/include/net/caif/caif_dev.h | |||
@@ -70,6 +70,17 @@ int caif_connect_client(struct caif_connect_request *config, | |||
70 | int caif_disconnect_client(struct cflayer *client_layer); | 70 | int caif_disconnect_client(struct cflayer *client_layer); |
71 | 71 | ||
72 | /** | 72 | /** |
73 | * caif_release_client - Release adaptation layer reference to client. | ||
74 | * | ||
75 | * @client_layer: Client layer. | ||
76 | * | ||
77 | * Releases a client/adaptation layer use of the caif stack. | ||
78 | * This function must be used after caif_disconnect_client to | ||
79 | * decrease the reference count of the service layer. | ||
80 | */ | ||
81 | void caif_release_client(struct cflayer *client_layer); | ||
82 | |||
83 | /** | ||
73 | * connect_req_to_link_param - Translate configuration parameters | 84 | * connect_req_to_link_param - Translate configuration parameters |
74 | * from socket format to internal format. | 85 | * from socket format to internal format. |
75 | * @cnfg: Pointer to configuration handler | 86 | * @cnfg: Pointer to configuration handler |