/* What types of comments does this capture file have?  */
guint32 cf_comment_types(capture_file *cf)
/* What types of comments does this capture file have?  */
guint32 cf_comment_types(capture_file *cf)
{
  guint32 comment_types = 0;
  if (cf_read_shb_comment(cf) != NULL)
    comment_types |= WTAP_COMMENT_PER_SECTION;
  if (cf->packet_comment_count != 0)
    comment_types |= WTAP_COMMENT_PER_PACKET;
  return comment_types;
}