Annotation of gnutrition/ui.h, revision 1.1
1.1 ! asm 1: // SPDX-License-Identifier: GPL-3.0-or-later
! 2: /*
! 3: * $Id$
! 4: *
! 5: * ui.h - ncurses user interface for GNUtrition
! 6: *
! 7: * Copyright (C) 2026 Free Software Foundation, Inc.
! 8: *
! 9: * Author: Jason Self <jself@gnu.org>
! 10: */
! 11:
! 12: #ifndef UI_H
! 13: #define UI_H
! 14:
! 15: #include <sqlite3.h>
! 16:
! 17: /* Run the interactive ncurses interface.
! 18: FOOD_DB is the USDA food database; LOG_DB is the user's food log.
! 19: CALORIES is the daily calorie target for the food-group budget.
! 20: Returns 0 on normal exit, -1 on error. */
! 21: int ui_run (sqlite3 *food_db, sqlite3 *log_db, int calories);
! 22:
! 23: #endif /* UI_H */
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>