gmyth/src/gmyth_remote_util.h
author rosfran
Wed May 23 16:11:29 2007 +0100 (2007-05-23)
branchtrunk
changeset 698 9019388af980
parent 529 dfa28b22a36c
child 701 2f28edb4d804
permissions -rw-r--r--
[svn r704] Added gmyth-upnp-search, to search for MythTV UPnP devices.
leo_sobral@1
     1
/**
leo_sobral@1
     2
 * GMyth Library
leo_sobral@1
     3
 *
leo_sobral@1
     4
 * @file gmyth/gmyth_remote_util.h
leo_sobral@1
     5
 * 
leo_sobral@1
     6
 * @brief <p> This component provides utility functions for accessing remote data.
leo_sobral@1
     7
 *
leo_sobral@1
     8
 * Copyright (C) 2006 INdT - Instituto Nokia de Tecnologia.
leo_sobral@1
     9
 * @author Hallyson Luiz de Morais Melo <hallyson.melo@indt.org.br>
leo_sobral@1
    10
 *
rosfran@698
    11
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              *//*
rosfran@698
    12
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                 * 
rosfran@698
    13
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                 * This program is free software; you can redistribute it and/or modify
rosfran@698
    14
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                 * it under the terms of the GNU Lesser General Public License as published by
rosfran@698
    15
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                 * the Free Software Foundation; either version 2 of the License, or
rosfran@698
    16
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                 * (at your option) any later version.
rosfran@698
    17
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                 *
rosfran@698
    18
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                 * This program is distributed in the hope that it will be useful,
rosfran@698
    19
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                 * but WITHOUT ANY WARRANTY; without even the implied warranty of
rosfran@698
    20
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
rosfran@698
    21
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                 * GNU General Public License for more details.
rosfran@698
    22
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                 *
rosfran@698
    23
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                 * You should have received a copy of the GNU Lesser General Public License
rosfran@698
    24
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                 * along with this program; if not, write to the Free Software
rosfran@698
    25
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
rosfran@698
    26
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                 */
leo_sobral@1
    27
leo_sobral@1
    28
#ifndef __REMOTE_UTIL_H__
leo_sobral@1
    29
#define __REMOTE_UTIL_H__
leo_sobral@1
    30
leo_sobral@6
    31
#include <glib.h>
rosfran@65
    32
#include "gmyth_recorder.h"
melunko@117
    33
#include "gmyth_socket.h"
leo_sobral@1
    34
leo_sobral@6
    35
G_BEGIN_DECLS
rosfran@698
    36
    GMythRecorder * remote_request_next_free_recorder (GMythSocket * socket,
rosfran@698
    37
    gint curr);
rosfran@698
    38
gint gmyth_remote_util_get_free_recorder_count (GMythSocket * socket);
leo_sobral@1
    39
leo_sobral@6
    40
G_END_DECLS
leo_sobral@1
    41
#endif