Listing 2

typedef std::vector<std::string> (get_titles_t)(const std::string &);
std::vector<std::string> get_titles(const std::string & author);
std::string get_website ();

BEGIN_MARSHAL_PROXY(proxy_t) // this is on line 100
   MARSHAL_1ARG (strlen) // typeof required to use the non-ex version
   MARSHAL_1ARG_EX(get_titles, get_titles_t)
   MARSHAL_0ARG_EX(get_website, std::string ())
END_MARSHAL_PROXY()