Skip to content
This repository was archived by the owner on Apr 30, 2019. It is now read-only.

Rework search_listings function #7

@apfohl

Description

@apfohl

In order to provide better encapsulation, the function search_listing() has to be rewritten. Right now, there are lots of printfs which are part of the user interface. That's not very elegant.

I would suggest that the function has only one responsibility. Take search options in the form of an adlist_t struct and return (by reference or value) a list of the search results. The UI part shall be completely moved to main.c.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions