summaryrefslogtreecommitdiffhomepage
path: root/src
diff options
context:
space:
mode:
authormidipix <writeonce@midipix.org>2017-07-30 21:21:21 +0000
committermidipix <writeonce@midipix.org>2017-07-31 08:43:35 -0400
commit6d572660b22e7ef9b07b2b380aca88fa949127b3 (patch)
tree2b809b027b646c17e318192be3495db3dbc1dd3f /src
parentd9d1789535a1ef6b0bc6dde9fba721ac923fe86c (diff)
downloadntapi-6d572660b22e7ef9b07b2b380aca88fa949127b3.tar.bz2
ntapi-6d572660b22e7ef9b07b2b380aca88fa949127b3.tar.xz
subsystem interfaces: normalized port name helper functions.
Diffstat (limited to 'src')
-rw-r--r--src/internal/ntapi.c2
-rw-r--r--src/internal/ntapi_fnapi.h2
-rw-r--r--src/port/ntapi_port_name_helper.c2
-rw-r--r--src/tty/ntapi_tty_create_session.c2
-rw-r--r--src/tty/ntapi_tty_join_session.c2
5 files changed, 5 insertions, 5 deletions
diff --git a/src/internal/ntapi.c b/src/internal/ntapi.c
index f6eb0b2..12ef163 100644
--- a/src/internal/ntapi.c
+++ b/src/internal/ntapi.c
@@ -250,7 +250,7 @@ static int32_t __fastcall __ntapi_init_once(ntapi_vtbl ** pvtbl)
__ntapi->tt_port_type_from_guid = __ntapi_tt_port_type_from_guid;
__ntapi->tt_port_generate_keys = __ntapi_tt_port_generate_keys;
__ntapi->tt_port_format_keys = __ntapi_tt_port_format_keys;
- __ntapi->tt_port_name_from_attributes = __ntapi_tt_port_name_from_attributes;
+ __ntapi->tt_port_name_from_attr = __ntapi_tt_port_name_from_attr;
__ntapi->tt_port_attr_from_name = __ntapi_tt_port_attr_from_name;
__ntapi->tt_port_attr_from_string = __ntapi_tt_port_attr_from_string;
__ntapi->tt_port_attr_from_symlink = __ntapi_tt_port_attr_from_symlink;
diff --git a/src/internal/ntapi_fnapi.h b/src/internal/ntapi_fnapi.h
index 5f682b8..84a8e59 100644
--- a/src/internal/ntapi_fnapi.h
+++ b/src/internal/ntapi_fnapi.h
@@ -137,7 +137,7 @@ ntapi_tt_port_guid_from_type __ntapi_tt_port_guid_from_type;
ntapi_tt_port_type_from_guid __ntapi_tt_port_type_from_guid;
ntapi_tt_port_generate_keys __ntapi_tt_port_generate_keys;
ntapi_tt_port_format_keys __ntapi_tt_port_format_keys;
-ntapi_tt_port_name_from_attributes __ntapi_tt_port_name_from_attributes;
+ntapi_tt_port_name_from_attr __ntapi_tt_port_name_from_attr;
ntapi_tt_port_attr_from_name __ntapi_tt_port_attr_from_name;
ntapi_tt_port_attr_from_string __ntapi_tt_port_attr_from_string;
ntapi_tt_port_attr_from_symlink __ntapi_tt_port_attr_from_symlink;
diff --git a/src/port/ntapi_port_name_helper.c b/src/port/ntapi_port_name_helper.c
index ae36c86..a918df7 100644
--- a/src/port/ntapi_port_name_helper.c
+++ b/src/port/ntapi_port_name_helper.c
@@ -119,7 +119,7 @@ void __stdcall __ntapi_tt_port_format_keys(
}
-void __stdcall __ntapi_tt_port_name_from_attributes(
+void __stdcall __ntapi_tt_port_name_from_attr(
__out nt_port_name * name,
__in nt_port_attr * attr)
{
diff --git a/src/tty/ntapi_tty_create_session.c b/src/tty/ntapi_tty_create_session.c
index 3fa8657..9e39ee1 100644
--- a/src/tty/ntapi_tty_create_session.c
+++ b/src/tty/ntapi_tty_create_session.c
@@ -110,7 +110,7 @@ int32_t __stdcall __ntapi_tty_create_session(
return status;
/* port name */
- __ntapi->tt_port_name_from_attributes(
+ __ntapi->tt_port_name_from_attr(
port_name,
&port_attr);
diff --git a/src/tty/ntapi_tty_join_session.c b/src/tty/ntapi_tty_join_session.c
index 8621592..93fc341 100644
--- a/src/tty/ntapi_tty_join_session.c
+++ b/src/tty/ntapi_tty_join_session.c
@@ -26,7 +26,7 @@ int32_t __stdcall __ntapi_tty_join_session(
}
/* port name */
- __ntapi->tt_port_name_from_attributes(
+ __ntapi->tt_port_name_from_attr(
port_name,
port_attr);