When creating a struct you can do
struct name {
...
} var1, var2;
to create variables of type struct name.
if you want to do typedef the syntax is
typedef <existing type> <alias>
to do a typedef for a struct type you do
typedef struct name(optional) {
...
} Typename;
where typename is the alias and the struct part is the existing type.
I am wondering if you can combine the above code sections. ex do a typedef on a struct like in the second example and in the same line declare var1 and var2 like we did for the first example. this doesnt seem possible since the Typename seems to take the place of var1 and var2