/
githubmirror
/
libreport
Обзор
Документация
Войти
/
githubmirror
/
libreport
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
master
src/client-python/reportclient/common.h
29 строк
1 KB
Matej Habrnal
client-python: add python wrapper for 'ask_yes_no_save_result'
08 июн 2015, 16:28
08 июн 2015, 16:28
c319a20
Код
Авторство
О чём код?
/* Copyright (C) 2009 Abrt team. Copyright (C) 2009 RedHat inc. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ #include <Python.h> #include "client.h" /* module-level functions */ /* for include/client.h */ PyObject *p_alert(PyObject *pself, PyObject *args); PyObject *p_ask(PyObject *pself, PyObject *args); PyObject *p_ask_password(PyObject *pself, PyObject *args); PyObject *p_ask_yes_no(PyObject *pself, PyObject *args); PyObject *p_ask_yes_no_yesforever(PyObject *pself, PyObject *args); PyObject *p_ask_yes_no_save_result(PyObject *pself, PyObject *args);