Reading the header of a tar file(posix header)

say i have these many file in a directory named exam.
1)/exam/newfolder/link.txt.
2)/exam/newfolder1/

and i create a tar say exam.tar
well the problem is,
when i read the tar file i dont find any metadata about the directories,as you cannot create a tar containig empty directories.
on the first header all i can see in the name fiels is:

name:/exam/newfolder/link.txt
typeflag:0

is there any metadata about the directories.....?
if it is, where can i find it and how.....?

What are you trying to do, exactly? libtar will help you if you are writing a C program to fiddle with tar files (have never used it, just found on google). And you can create a tar file filled with nothing but empty directories. I tried on Solaris 10, and it didn't give any problems.

Well i am writing a filesystem called tarfs usinf fuse....
but for that i have to study the tar header.
and nowhere in the header its giving me metadata about directories that are archived.
and fc6 dosen't create a archive of empty directories.