[vala-extra-vapis/wip/albfan/libssh2] More consistent names
- From: Rico Tzschichholz <ricotz src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [vala-extra-vapis/wip/albfan/libssh2] More consistent names
- Date: Mon, 21 Oct 2019 13:45:37 +0000 (UTC)
commit b107cc7b082e35f09b42af351f42f3de8d1eef6b
Author: Rico Tzschichholz <ricotz ubuntu com>
Date: Mon Oct 21 15:44:47 2019 +0200
More consistent names
libssh2.vapi | 22 +++++++++++-----------
1 file changed, 11 insertions(+), 11 deletions(-)
---
diff --git a/libssh2.vapi b/libssh2.vapi
index 630154c..7448b46 100644
--- a/libssh2.vapi
+++ b/libssh2.vapi
@@ -456,21 +456,21 @@ namespace SSH2 {
* @see add_ex
*/
[CCode (cname = "libssh2_publickey_ad")]
- public Error add (string name, [CCode (array_length_type = "unsigned long")] uint8[] blob,
bool overwrite, [CCode (array_length_pos = 3.1)] PublickeyAttribute[]? attrs);
+ public Error add (string name, [CCode (array_length_type = "unsigned long")] uint8[] blob,
bool overwrite, [CCode (array_length_pos = 3.1)] PublicKeyAttribute[]? attrs);
/**
* Add a new public key entry.
*/
[CCode (cname = "libssh2_publickey_add_ex")]
- public Error add_ex ([CCode (array_length_type = "unsigned long")] uint8[] name, [CCode
(array_length_type = "unsigned long")] uint8[] blob, bool overwrite, [CCode (array_length_pos = 3.1)]
PublickeyAttribute[]? attrs);
+ public Error add_ex ([CCode (array_length_type = "unsigned long")] uint8[] name, [CCode
(array_length_type = "unsigned long")] uint8[] blob, bool overwrite, [CCode (array_length_pos = 3.1)]
PublicKeyAttribute[]? attrs);
[CCode (cname = "libssh2_publickey_list_free")]
- public void list_free ([CCode (array_length = false)] owned PublickeyList[] pkey_list);
+ public void list_free ([CCode (array_length = false)] owned PublicKeyList[] pkey_list);
/**
* Fetch a list of supported public key from a server
*
* You must free the resulting list using {@link list_free}.
*/
[CCode (cname = "libssh2_publickey_list_fetch")]
- public Error list_public_keys ([CCode (array_length_pos = 0.1, array_length_type = "unsigned
long")] out PublickeyList[] pkey_list);
+ public Error list_public_keys ([CCode (array_length_pos = 0.1, array_length_type = "unsigned
long")] out PublicKeyList[] pkey_list);
[CCode (cname = "libssh2_publickey_remove")]
public Error remove ([CCode (array_length_type = "unsigned long")] uint8[] name, [CCode
(array_length_type = "unsigned long")] uint8[] blob);
[CCode (cname = "libssh2_publickey_remove_ex")]
@@ -825,7 +825,7 @@ namespace SSH2 {
[CCode (has_typedef = false, simple_generics = true)]
public delegate Error PublicKeySignFunc<T> (Session<T> session, [CCode (array_length_type =
"size_t")] out uint8[] sig, [CCode (array_length_type = "size_t")] uint8[] data);
[CCode (has_typedef = false, simple_generics = true, has_target = false)]
- public delegate void KeyboardInteractiveHandler<T> ([CCode (array_length_type = "int")]
uint8[] name, [CCode (array_length_type = "int")] uint8[] instruction, [CCode (array_length_pos = 2.1)]
UserauthKeyboardPrompt prompts, [CCode (array_length = false)] UserauthKeyboardResponse responses, ref T
user_data);
+ public delegate void KeyboardInteractiveHandler<T> ([CCode (array_length_type = "int")]
uint8[] name, [CCode (array_length_type = "int")] uint8[] instruction, [CCode (array_length_pos = 2.1)]
UserAuthKeyboardPrompt prompts, [CCode (array_length = false)] UserAuthKeyboardResponse responses, ref T
user_data);
[CCode (has_typedef = false, simple_generics = true, has_target = false)]
public delegate ssize_t RecvHandler<T> (int socket, [CCode (array_length_type = "size_t")]
uint8[] buffer, int flags, ref T user_data);
[CCode (has_typedef = false, simple_generics = true, has_target = false)]
@@ -1049,9 +1049,9 @@ namespace SSH2 {
public ssize_t write ([CCode (array_length_size = "size_t")] uint8[] buffer);
}
[CCode (cname = "libssh2_publickey_attribute", has_type_id = false, cheader_filename =
"libssh2_publickey.h")]
- public struct PublickeyAttribute {
+ public struct PublicKeyAttribute {
[CCode (cname = "libssh2_publickey_attribute")]
- public PublickeyAttribute (string name, string @value, bool mandatory);
+ public PublicKeyAttribute (string name, string @value, bool mandatory);
[CCode (array_length_cname = "name_len", array_length_type = "unsigned long")]
unowned uint8[] name;
[CCode (array_length_cname = "value_len", array_length_type = "unsigned long")]
@@ -1059,22 +1059,22 @@ namespace SSH2 {
bool mandatory;
}
[CCode (cname = "libssh2_publickey_list")]
- public struct PublickeyList {
+ public struct PublicKeyList {
[CCode (array_length_cname = "name_len", array_length_type = "unsigned long")]
uint8[] name;
[CCode (array_length_cname = "blob_len", array_length_type = "unsigned long")]
uint8[] blob;
[CCode (array_length_cname = "num_attrs", array_length_type = "unsigned long")]
- PublickeyAttribute[] attrs;
+ PublicKeyAttribute[] attrs;
}
[CCode (cname = "LIBSSH2_USERAUTH_KBDINT_PROMPT")]
- public struct UserauthKeyboardPrompt {
+ public struct UserAuthKeyboardPrompt {
[CCode (array_length_cname = "length")]
public uint8[] text;
public bool echo;
}
[CCode (cname = "LIBSSH2_USERAUTH_KBDINT_RESPONSE")]
- public struct UserauthKeyboardResponse {
+ public struct UserAuthKeyboardResponse {
[CCode (array_length_type = "unsigned int", array_length_cname = "length")]
public uint8[] text;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]