2 * This file is part of Mancala
4 * Originally from Crazyparking:
6 * Copyright (C) 2006 INdT - Instituto Nokia de Tecnologia
7 * http://www.indt.org/maemo
10 * Copyright (c) 2009 Reto Zingg
12 * This software is free software; you can redistribute it and/or
13 * modify it under the terms of the GNU Lesser General Public License
14 * as published by the Free Software Foundation; either version 2.1 of
15 * the License, or (at your option) any later version.
17 * This software is distributed in the hope that it will be useful, but
18 * WITHOUT ANY WARRANTY; without even the implied warranty of
19 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
20 * Lesser General Public License for more details.
22 * You should have received a copy of the GNU Lesser General Public
23 * License along with this software; if not, write to the Free Software
24 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
30 #include "callbacks.h"
34 int exit_callback(int errcode) {
35 printf("exit_callback called...\n");
36 hgw_context_destroy(hgw_context, HGW_BYE_INACTIVE);
41 int quit_callback(int errcode) {
42 printf("quit_callback called...\n");
43 hgw_context_destroy(hgw_context, HGW_BYE_INACTIVE);
47 int flush_callback(int errcode) {
48 printf("quit_callback called...\n");
49 hgw_context_destroy(hgw_context, HGW_BYE_INACTIVE);