summaryrefslogtreecommitdiff
path: root/shared/nm-keyfile/nm-keyfile.c
diff options
context:
space:
mode:
authorThomas Haller <thaller@redhat.com>2020-05-23 17:28:33 +0200
committerThomas Haller <thaller@redhat.com>2020-06-05 09:17:14 +0200
commit18c1fe6ed8adf7c6f2b7cdbbc560404324da9fd3 (patch)
tree774ae4e53e8fa2cb4096b72b6567a7f380c31fe3 /shared/nm-keyfile/nm-keyfile.c
parentccac506a8ae4dfce54f43a4b9a9affb23a563716 (diff)
downloadNetworkManager-18c1fe6ed8adf7c6f2b7cdbbc560404324da9fd3.tar.gz
keyfile: merge NMKeyfile{Read,Write}Type as NMKeyfileHandlerType
This will become public API. The enum for read and write callback serves very similar purposes. Merge them so that we have fewer types in the public API.
Diffstat (limited to 'shared/nm-keyfile/nm-keyfile.c')
-rw-r--r--shared/nm-keyfile/nm-keyfile.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/shared/nm-keyfile/nm-keyfile.c b/shared/nm-keyfile/nm-keyfile.c
index 63a6bf9343..3797717e66 100644
--- a/shared/nm-keyfile/nm-keyfile.c
+++ b/shared/nm-keyfile/nm-keyfile.c
@@ -65,7 +65,7 @@ _handle_warn (KeyfileReaderInfo *info,
info->handler (info->keyfile,
info->connection,
- NM_KEYFILE_READ_TYPE_WARN,
+ NM_KEYFILE_HANDLER_TYPE_WARN,
&type_data,
info->user_data,
&info->error);
@@ -2434,7 +2434,7 @@ cert_writer (KeyfileWriterInfo *info,
if (info->handler) {
if (info->handler (info->connection,
info->keyfile,
- NM_KEYFILE_WRITE_TYPE_CERT,
+ NM_KEYFILE_HANDLER_TYPE_WRITE_CERT,
&type_data,
info->user_data,
&info->error))