/* rbpod.h */ #ifndef RBPOD_H #define RBPOD_H #include #ifdef HAVE_STDDEF_H #include #endif #ifdef HAVE_GPOD_ITDB_H #include #endif /* Pre-processor macros. */ #include "macros.h" /* Initialization function prototypes. */ RUBY_EXTERN void Init_rbpod(void); /* rbpod.c */ RUBY_EXTERN void Init_rbpod_error(void); /* error.c */ RUBY_EXTERN void Init_rbpod_database(void); /* database.c */ RUBY_EXTERN void Init_rbpod_device(void); /* device.c */ RUBY_EXTERN void Init_rbpod_track(void); /* track.c */ RUBY_EXTERN void Init_rbpod_playlist(void); /* playlist.c */ RUBY_EXTERN void Init_rbpod_collection(void); /* collection.c */ RUBY_EXTERN void Init_rbpod_track_collection(void); /* track_collection.c */ RUBY_EXTERN void Init_rbpod_playlist_collection(void); /* playlist_collection.c */ /* Helper function prototypes. */ RUBY_EXTERN inline VALUE rbpod_raise_error(GError *error); RUBY_EXTERN inline VALUE rb_class_new_instance_with_data(int argc, VALUE *argv, VALUE class, void *handle); RUBY_EXTERN inline void rb_real_include_module(VALUE klass, VALUE module); /* Global variables. */ RUBY_EXTERN VALUE mRbPod; /* rbpod.c */ RUBY_EXTERN VALUE eRbPodError; /* error.c */ RUBY_EXTERN VALUE cRbPodDatabase; /* database.c */ RUBY_EXTERN VALUE cRbPodDevice; /* device.c */ RUBY_EXTERN VALUE cRbPodTrack; /* track.c */ RUBY_EXTERN VALUE cRbPodPlaylist; /* playlist.c */ RUBY_EXTERN VALUE mRbPodCollection; /* collection.c */ RUBY_EXTERN VALUE cRbPodTrackCollection; /* track_collection.c */ RUBY_EXTERN VALUE cRbPodPlaylistCollection; /* playlist_collection.c */ RUBY_EXTERN VALUE rb_cPathname; #endif /* RBPOD_H */