Blame clients/tui/nmt-ip-entry.h

Packit Service 87a54e
/* SPDX-License-Identifier: GPL-2.0-or-later */
Packit 5756e2
/*
Packit 5756e2
 * Copyright (C) 2013 Red Hat, Inc.
Packit 5756e2
 */
Packit 5756e2
Packit 5756e2
#ifndef NMT_IP_ENTRY_H
Packit 5756e2
#define NMT_IP_ENTRY_H
Packit 5756e2
Packit 5756e2
#include "nmt-newt.h"
Packit 5756e2
Packit Service a1bd4f
#define NMT_TYPE_IP_ENTRY (nmt_ip_entry_get_type())
Packit Service a1bd4f
#define NMT_IP_ENTRY(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), NMT_TYPE_IP_ENTRY, NmtIPEntry))
Packit Service a1bd4f
#define NMT_IP_ENTRY_CLASS(klass) \
Packit Service a1bd4f
    (G_TYPE_CHECK_CLASS_CAST((klass), NMT_TYPE_IP_ENTRY, NmtIPEntryClass))
Packit Service a1bd4f
#define NMT_IS_IP_ENTRY(obj)         (G_TYPE_CHECK_INSTANCE_TYPE((obj), NMT_TYPE_IP_ENTRY))
Packit Service a1bd4f
#define NMT_IS_IP_ENTRY_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE((klass), NMT_TYPE_IP_ENTRY))
Packit Service a1bd4f
#define NMT_IP_ENTRY_GET_CLASS(obj) \
Packit Service a1bd4f
    (G_TYPE_INSTANCE_GET_CLASS((obj), NMT_TYPE_IP_ENTRY, NmtIPEntryClass))
Packit 5756e2
Packit 5756e2
typedef struct {
Packit Service a1bd4f
    NmtNewtEntry parent;
Packit 5756e2
Packit 5756e2
} NmtIPEntry;
Packit 5756e2
Packit 5756e2
typedef struct {
Packit Service a1bd4f
    NmtNewtEntryClass parent;
Packit 5756e2
Packit 5756e2
} NmtIPEntryClass;
Packit 5756e2
Packit Service a1bd4f
GType nmt_ip_entry_get_type(void);
Packit 5756e2
Packit Service a1bd4f
NmtNewtWidget *nmt_ip_entry_new(int width, int family, gboolean prefix, gboolean optional);
Packit 5756e2
Packit 5756e2
#endif /* NMT_IP_ENTRY_H */