How to enumerate samba shares with client

I have a samba server node and I want to mount the samba (CIFS) shares from a second (client) unix machine.

However, the unix mount command requires I specify the name of the share. What if I don't know the name of the share?

How can I enumerate all the shares from the samba client machine?

Is there a command? Can I do it with Konquerer?

How would I write a C program to do it?

Thanks,
Siegfried

To see the shares on a specified host you can try:

smbclient -L host