Re: Network Manager reason codes
- From: Jirka Klimes <jklimes redhat com>
- To: Byte Soup <bytesoup gmail com>
- Cc: networkmanager-list gnome org
- Subject: Re: Network Manager reason codes
- Date: Thu, 10 Feb 2011 23:26:04 +0100
On Thursday 10 of February 2011 22:42:49 Byte Soup wrote:
> >
> > You can find the reason codes in
> >
> > http://cgit.freedesktop.org/NetworkManager/NetworkManager/tree/include/Ne
> > tworkManager.h?id=2dbaab2221c092e1cb1855b14419964b4b8a04fc#n235
>
> Sorry, I dont really understand the code that well, can I assume that the
> "enum" means we take each line as the next reason code? (see my comments
> below)
>
> typedef enum {
> /* No reason given */
> NM_DEVICE_STATE_REASON_NONE = 0,
>
> /* Unknown error */
> NM_DEVICE_STATE_REASON_UNKNOWN, <<-- reason code 1?
>
> /* Device is now managed */
> NM_DEVICE_STATE_REASON_NOW_MANAGED, <<-- reason code 2?
>
> Thanks
Yup, exactly.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]