Printer

Printer

Synopsis

#include <libxfprint/libxfprint.h>

struct              Printer;
void                printer_free                        (Printer *printer);
void                printers_free                       (GList *printers);
Printer *           printer_lookup_byname               (GList *list,
                                                         const gchar *name);
Printer *           printer_lookup_byalias              (GList *list,
                                                         const gchar *alias);

Description

Details

struct Printer

struct Printer {
  gint type;
  gchar *name;
  gchar *alias;
};


printer_free ()

void                printer_free                        (Printer *printer);


printers_free ()

void                printers_free                       (GList *printers);


printer_lookup_byname ()

Printer *           printer_lookup_byname               (GList *list,
                                                         const gchar *name);


printer_lookup_byalias ()

Printer *           printer_lookup_byalias              (GList *list,
                                                         const gchar *alias);