Pepcid,Zantac,Prilosec....I think they all work in pretty much the same way and I think they're all "pump inhibitors".
Pepcid, Zantac, and Tagamet are H1 inhibitors. Prilosec and Nexium are proton pump inhibitors.