def is_c_source(s):
    """
    Return True if s looks like a C source path.
    Example: this.c
    FIXME: should get actual algo from contenttype.
    """
    return s.endswith(('.c', '.cpp', '.hpp', '.h'))
