clientprefs: Add defines for Cookie name and description max length (#1463)

This commit is contained in:
Natanel Shitrit 2021-05-21 01:52:52 +03:00 committed by GitHub
parent 845c20ad93
commit 6b7fd8c3dc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -74,6 +74,9 @@ enum CookieMenuAction
CookieMenuAction_SelectOption = 1
};
#define COOKIE_MAX_NAME_LENGTH 30 /**< Maximum Cookie name length. */
#define COOKIE_MAX_DESCRIPTION_LENGTH 255 /**< Maximum Cookie description length. */
/**
* Cookie Menu Callback prototype
*