/* Automatically generated, do not edit.  */

#ifndef GUILE_AVAHI_COMMON_SMOBS_H
#define GUILE_AVAHI_COMMON_SMOBS_H
#include <avahi-common/watch.h>
#include <avahi-common/simple-watch.h>
#include <avahi-client/client.h>
#include <libguile.h>
#include "watch.h"
SCM_API scm_t_bits scm_tc16_avahi_poll;
static inline SCM
scm_from_avahi_poll (const AvahiPoll * c_obj)
{
  SCM_RETURN_NEWSMOB3 (scm_tc16_avahi_poll, (scm_t_bits) c_obj, SCM_UNPACK (SCM_BOOL_F), SCM_UNPACK (SCM_BOOL_F));
}
static inline AvahiPoll *
scm_to_avahi_poll (SCM obj, unsigned pos, const char *func)
#define FUNC_NAME func
{
  SCM_VALIDATE_SMOB (pos, obj, avahi_poll);
  return ((AvahiPoll *) SCM_SMOB_DATA (obj));
}
#undef FUNC_NAME
SCM_API scm_t_bits scm_tc16_avahi_simple_poll;
static inline SCM
scm_from_avahi_simple_poll (const AvahiSimplePoll * c_obj)
{
  SCM_RETURN_NEWSMOB3 (scm_tc16_avahi_simple_poll, (scm_t_bits) c_obj, SCM_UNPACK (SCM_BOOL_F), SCM_UNPACK (SCM_BOOL_F));
}
static inline AvahiSimplePoll *
scm_to_avahi_simple_poll (SCM obj, unsigned pos, const char *func)
#define FUNC_NAME func
{
  SCM_VALIDATE_SMOB (pos, obj, avahi_simple_poll);
  return ((AvahiSimplePoll *) SCM_SMOB_DATA (obj));
}
#undef FUNC_NAME
SCM_API scm_t_bits scm_tc16_avahi_guile_poll;
static inline SCM
scm_from_avahi_guile_poll (const AvahiGuilePoll * c_obj)
{
  SCM_RETURN_NEWSMOB3 (scm_tc16_avahi_guile_poll, (scm_t_bits) c_obj, SCM_UNPACK (SCM_BOOL_F), SCM_UNPACK (SCM_BOOL_F));
}
static inline AvahiGuilePoll *
scm_to_avahi_guile_poll (SCM obj, unsigned pos, const char *func)
#define FUNC_NAME func
{
  SCM_VALIDATE_SMOB (pos, obj, avahi_guile_poll);
  return ((AvahiGuilePoll *) SCM_SMOB_DATA (obj));
}
#undef FUNC_NAME
SCM_API scm_t_bits scm_tc16_avahi_threaded_poll;
static inline SCM
scm_from_avahi_threaded_poll (const AvahiThreadedPoll * c_obj)
{
  SCM_RETURN_NEWSMOB3 (scm_tc16_avahi_threaded_poll, (scm_t_bits) c_obj, SCM_UNPACK (SCM_BOOL_F), SCM_UNPACK (SCM_BOOL_F));
}
static inline AvahiThreadedPoll *
scm_to_avahi_threaded_poll (SCM obj, unsigned pos, const char *func)
#define FUNC_NAME func
{
  SCM_VALIDATE_SMOB (pos, obj, avahi_threaded_poll);
  return ((AvahiThreadedPoll *) SCM_SMOB_DATA (obj));
}
#undef FUNC_NAME
SCM_API scm_t_bits scm_tc16_avahi_watch;
static inline SCM
scm_from_avahi_watch (const AvahiWatch * c_obj)
{
  SCM_RETURN_NEWSMOB3 (scm_tc16_avahi_watch, (scm_t_bits) c_obj, SCM_UNPACK (SCM_BOOL_F), SCM_UNPACK (SCM_BOOL_F));
}
static inline AvahiWatch *
scm_to_avahi_watch (SCM obj, unsigned pos, const char *func)
#define FUNC_NAME func
{
  SCM_VALIDATE_SMOB (pos, obj, avahi_watch);
  return ((AvahiWatch *) SCM_SMOB_DATA (obj));
}
#undef FUNC_NAME
SCM_API scm_t_bits scm_tc16_avahi_timeout;
static inline SCM
scm_from_avahi_timeout (const AvahiTimeout * c_obj)
{
  SCM_RETURN_NEWSMOB3 (scm_tc16_avahi_timeout, (scm_t_bits) c_obj, SCM_UNPACK (SCM_BOOL_F), SCM_UNPACK (SCM_BOOL_F));
}
static inline AvahiTimeout *
scm_to_avahi_timeout (SCM obj, unsigned pos, const char *func)
#define FUNC_NAME func
{
  SCM_VALIDATE_SMOB (pos, obj, avahi_timeout);
  return ((AvahiTimeout *) SCM_SMOB_DATA (obj));
}
#undef FUNC_NAME
#endif
