Skip to content

Commit

Permalink
List all driver names explicitly.
Browse files Browse the repository at this point in the history
  • Loading branch information
kohler committed Dec 1, 2011
1 parent 9759f84 commit e39761f
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions FAQ
Original file line number Diff line number Diff line change
Expand Up @@ -120,15 +120,15 @@ A. There are two ways to add an element class to Click: in the main Click

EXPORT_ELEMENT takes a single argument, the name of the C++ class
corresponding to your element. You can have multiple EXPORT_ELEMENT
lines if your source file declares multiple element classes. If your
element is meant only for the user-level driver, add this line near
EXPORT_ELEMENT:
lines if your source file declares multiple element classes.

ELEMENT_REQUIRES(userlevel)
If your element is meant only for the user-level driver, add this line
near EXPORT_ELEMENT:

Or, if it is meant for the Linux kernel module:
ELEMENT_REQUIRES(userlevel)

ELEMENT_REQUIRES(linuxmodule)
Other driver names are "linuxmodule", "bsdmodule", and "ns". You can
also say, for example, "ELEMENT_REQUIRES(userlevel|ns)".

ELEMENT_REQUIRES can also take element names and package names like
'ip6':
Expand Down

0 comments on commit e39761f

Please sign in to comment.