Example #1
0
// Build a placeholder for a type name. Note that
// we can map these to source code locations.
Type const*
Parser::on_id_type(Token tok)
{
  Type const* t = get_id_type(tok.symbol());
  locs_->emplace(t, tok.location());
  return t;
}
Example #2
0
char *get_meshid(struct packet *pkt, unsigned char *meshidlen) {
  return get_id_type(pkt, meshidlen, BEACON_TAGTYPE_MESHID);  
}
Example #3
0
char *get_ssid(struct packet *pkt, unsigned char *ssidlen) {
  return get_id_type(pkt, ssidlen, BEACON_TAGTYPE_SSID);
}