typedef struct MenuItem MenuItem;
typedef void MenuItemHandler( const MenuItem * menuItem) ;
struct MenuItem
{
const char * title;
MenuItemHandler * handler;
const MenuItem * subMenu;
} ;
const MenuItem dzhigurdaMenu[ ] =
{
{ .title = "Джигурда" } ,
{ 0 }
} ;
const MenuItem pizdaMenu[ ] =
{
{ .title = "Пизда" , .subMenu = dzhigurdaMenu } ,
{ 0 }
} ;
const MenuItem rootMenu[ ] =
{
{ .title = "Хуй" , .subMenu = pizdaMenu } ,
{ .title = "Хуй 2" } ,
{ .title = "Хуй 3" } ,
{ 0 }
} ;
dHlwZWRlZiBzdHJ1Y3QgTWVudUl0ZW0gTWVudUl0ZW07CnR5cGVkZWYgdm9pZCBNZW51SXRlbUhhbmRsZXIoY29uc3QgTWVudUl0ZW0gKm1lbnVJdGVtKTsKCnN0cnVjdCBNZW51SXRlbQp7CiAgICBjb25zdCBjaGFyICp0aXRsZTsKICAgIE1lbnVJdGVtSGFuZGxlciAqaGFuZGxlcjsKICAgIGNvbnN0IE1lbnVJdGVtICpzdWJNZW51Owp9OwoKY29uc3QgTWVudUl0ZW0gZHpoaWd1cmRhTWVudVtdID0KewogICAgeyAudGl0bGUgPSAi0JTQttC40LPRg9GA0LTQsCIgfSwKICAgIHsgMCB9Cn07Cgpjb25zdCBNZW51SXRlbSBwaXpkYU1lbnVbXSA9CnsKICAgIHsgLnRpdGxlID0gItCf0LjQt9C00LAiLCAuc3ViTWVudSA9IGR6aGlndXJkYU1lbnUgfSwKICAgIHsgMCB9Cn07Cgpjb25zdCBNZW51SXRlbSByb290TWVudVtdID0KewogICAgeyAudGl0bGUgPSAi0KXRg9C5IiwgLnN1Yk1lbnUgPSBwaXpkYU1lbnUgfSwKICAgIHsgLnRpdGxlID0gItCl0YPQuSAyIiB9LAogICAgeyAudGl0bGUgPSAi0KXRg9C5IDMiIH0sCiAgICB7IDAgfQp9Owo=