Job

Job

Synopsis

#include <libxfprint/libxfprint.h>

struct              Job;
enum                JobState;
void                job_free                            (Job *job);
void                jobs_free                           (GList *jobs);

Description

Details

struct Job

struct Job {
  gchar *name;
  guint id;
  gchar *user;
  JobState state;
  guint size;
  guint priority;
  gchar *creation_time;
  gchar *processing_time;
};


enum JobState

typedef enum {
  JOB_STATE_PENDING,
  JOB_STATE_PRINTING,
} JobState;


job_free ()

void                job_free                            (Job *job);


jobs_free ()

void                jobs_free                           (GList *jobs);