Listing 1 A suggested use for a struct definition local to a block

int xlate(const char *s)
   {
   struct entry
      {
      const char *s;
      int v;
      };
   static const entry xtab[] =
      {
      { ..., ... },
      ...
      { ..., ... }
      };
   /*
    * convert s to int by table lookup using xtab
    */
   }

/* End of File */