[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH 4/6] procfs: generalize the translator linkage code
From: |
Justus Winter |
Subject: |
Re: [PATCH 4/6] procfs: generalize the translator linkage code |
Date: |
Sun, 21 Sep 2014 18:30:38 +0200 |
User-agent: |
alot/0.3.5 |
Quoting Justus Winter (2014-09-21 12:12:34)
> Generalize the translator linkage code previously introduced for the
> `mounts' node.
> ...
> (ROOTDIR_DEFINE_TRANSLATED_NODE): New convenience macro to define
> translated nodes.
> ...
> +#define ROOTDIR_DEFINE_TRANSLATED_NODE(ARGZ) \
> + &(struct procfs_translated_node_ops) { \
> + .node_ops = { \
> + .get_translator = rootdir_translated_node_get_translator, \
> + }, \
> + .npp = &rootdir_mounts_node, \
^ doh, that was rather stoopid :/
> + .argz = (ARGZ), \
> + .argz_len = sizeof (ARGZ), \
> + }
> +
- [PATCH 1/2] procfs: implement /proc/N/maps, Justus Winter, 2014/09/18
- [PATCH 2/2] procfs: implement /proc/filesystems, Justus Winter, 2014/09/18
- [PATCH 1/6] procfs: implement /proc/N/mounts, Justus Winter, 2014/09/21
- [PATCH 4/6] procfs: generalize the translator linkage code, Justus Winter, 2014/09/21
- Re: [PATCH 4/6] procfs: generalize the translator linkage code,
Justus Winter <=
- [PATCH 1/7] procfs: implement /proc/N/maps, Justus Winter, 2014/09/22
- [PATCH 3/7] procfs: implement /proc/N/mounts, Justus Winter, 2014/09/22
- Re: [PATCH 3/7] procfs: implement /proc/N/mounts, Samuel Thibault, 2014/09/28
- [PATCH 4/7] procfs: do not test whether /hurd/mtab exists, Justus Winter, 2014/09/22
- Re: [PATCH 4/7] procfs: do not test whether /hurd/mtab exists, Samuel Thibault, 2014/09/28
- [PATCH 2/7] procfs: implement /proc/filesystems, Justus Winter, 2014/09/22
- Re: [PATCH 2/7] procfs: implement /proc/filesystems, Samuel Thibault, 2014/09/28
- [PATCH 5/7] procfs: generalize the translator linkage code, Justus Winter, 2014/09/22
- Re: [PATCH 5/7] procfs: generalize the translator linkage code, Samuel Thibault, 2014/09/28
- [PATCH 6/7] procfs: reorganize rootdir.c, Justus Winter, 2014/09/22