36 lines
1.0 KiB
Plaintext
36 lines
1.0 KiB
Plaintext
# Nanopb options for webui.proto
|
|
|
|
# Use callback-based strings for dynamic memory allocation
|
|
# No max_length specified to enable callbacks
|
|
webui.WebUiLoginRequest.username max_length:32
|
|
webui.WebUiLoginRequest.password max_length:64
|
|
|
|
# WebUiLoginResponse
|
|
webui.WebUiLoginResponse.token max_length:128
|
|
webui.WebUiLoginResponse.error max_length:96
|
|
|
|
# WebUiUser
|
|
webui.WebUiUser.username max_length:32
|
|
webui.WebUiUser.password_hash max_length:32
|
|
|
|
# GetUsersResponse
|
|
webui.GetUsersResponse.usernames max_length:32
|
|
|
|
# AddUserRequest
|
|
webui.AddUserRequest.username max_length:32
|
|
webui.AddUserRequest.password max_length:64
|
|
|
|
# DeleteUserRequest
|
|
webui.DeleteUserRequest.username max_length:32
|
|
|
|
# UpdateUserPasswordRequest
|
|
webui.UpdateUserPasswordRequest.username max_length:32
|
|
webui.UpdateUserPasswordRequest.new_password max_length:64
|
|
|
|
# Response errors
|
|
webui.AddUserResponse.error max_length:96
|
|
webui.DeleteUserResponse.error max_length:96
|
|
webui.UpdateUserPasswordResponse.error max_length:96
|
|
|
|
# WebUiAuthCheckResponse
|
|
webui.WebUiAuthCheckResponse.username max_length:32 |