ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/svn/ircd-hybrid/branches/8.2.x/modules/m_info.c
Revision: 1402
Committed: Wed May 9 18:42:45 2012 UTC (13 years, 3 months ago) by michael
Content type: text/x-csrc
Original Path: ircd-hybrid-8/modules/m_info.c
File size: 18656 byte(s)
Log Message:
- /info no longer sends information about the platform ircd is running on
- remove get_ircd_platform() function
- configure: --enable-efnet switch is no longer required

File Contents

# User Rev Content
1 adx 30 /*
2     * ircd-hybrid: an advanced Internet Relay Chat Daemon(ircd).
3     * m_info.c: Sends information about the server.
4     *
5     * Copyright (C) 2005 by the past and present ircd coders, and others.
6     *
7     * This program is free software; you can redistribute it and/or modify
8     * it under the terms of the GNU General Public License as published by
9     * the Free Software Foundation; either version 2 of the License, or
10     * (at your option) any later version.
11     *
12     * This program is distributed in the hope that it will be useful,
13     * but WITHOUT ANY WARRANTY; without even the implied warranty of
14     * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15     * GNU General Public License for more details.
16     *
17     * You should have received a copy of the GNU General Public License
18     * along with this program; if not, write to the Free Software
19     * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
20     * USA
21     *
22 knight 31 * $Id$
23 adx 30 */
24    
25     #include "stdinc.h"
26 michael 1011 #include "list.h"
27 adx 30 #include "channel.h"
28     #include "client.h"
29     #include "irc_string.h"
30     #include "ircd.h"
31     #include "numeric.h"
32     #include "s_serv.h"
33     #include "s_user.h"
34     #include "send.h"
35 michael 1309 #include "conf.h"
36 adx 30 #include "parse.h"
37     #include "modules.h"
38    
39 michael 1230
40 adx 30 static void send_conf_options(struct Client *);
41     static void send_birthdate_online_time(struct Client *);
42     static void send_info_text(struct Client *);
43    
44     /*
45     * jdc -- Structure for our configuration value table
46     */
47     struct InfoStruct
48     {
49     const char *name; /* Displayed variable name */
50     unsigned int output_type; /* See below #defines */
51     void *option; /* Pointer reference to the value */
52     const char *desc; /* ASCII description of the variable */
53     };
54    
55     /* Types for output_type in InfoStruct */
56     #define OUTPUT_STRING 0x0001 /* Output option as %s w/ dereference */
57     #define OUTPUT_STRING_PTR 0x0002 /* Output option as %s w/out deference */
58     #define OUTPUT_DECIMAL 0x0004 /* Output option as decimal (%d) */
59     #define OUTPUT_BOOLEAN 0x0008 /* Output option as "ON" or "OFF" */
60     #define OUTPUT_BOOLEAN_YN 0x0010 /* Output option as "YES" or "NO" */
61     #define OUTPUT_BOOLEAN2 0x0020 /* Output option as "YES/NO/MASKED" */
62    
63     static const struct InfoStruct info_table[] =
64     {
65     /* --[ START OF TABLE ]-------------------------------------------- */
66 michael 1318
67 adx 30 {
68 michael 1318 "CPATH",
69     OUTPUT_STRING,
70     &ConfigFileEntry.configfile,
71     "Path to Main Configuration File"
72     },
73     {
74     "DPATH",
75     OUTPUT_STRING,
76     &ConfigFileEntry.dpath,
77     "Directory Containing Configuration Files"
78     },
79     {
80     "DLPATH",
81     OUTPUT_STRING,
82     &ConfigFileEntry.dlinefile,
83     "Path to D-line File"
84     },
85     {
86     "KPATH",
87     OUTPUT_STRING,
88     &ConfigFileEntry.klinefile,
89     "Path to K-line File"
90     },
91     {
92 adx 30 "network_name",
93     OUTPUT_STRING,
94     &ServerInfo.network_name,
95     "Network name"
96     },
97     {
98     "network_desc",
99     OUTPUT_STRING,
100     &ServerInfo.network_desc,
101     "Network description"
102     },
103     {
104     "hub",
105     OUTPUT_BOOLEAN_YN,
106     &ServerInfo.hub,
107     "Server is a hub"
108     },
109     {
110     "use_logging",
111     OUTPUT_BOOLEAN_YN,
112     &ConfigLoggingEntry.use_logging,
113     "Enable logging"
114     },
115     {
116     "restrict_channels",
117     OUTPUT_BOOLEAN_YN,
118     &ConfigChannel.restrict_channels,
119     "Only reserved channels are allowed"
120     },
121     {
122     "disable_local_channels",
123     OUTPUT_BOOLEAN_YN,
124     &ConfigChannel.disable_local_channels,
125     "Prevent users from joining &channels"
126     },
127     {
128     "use_invex",
129     OUTPUT_BOOLEAN_YN,
130     &ConfigChannel.use_invex,
131     "Enable chanmode +I (invite exceptions)"
132     },
133     {
134     "use_except",
135     OUTPUT_BOOLEAN_YN,
136     &ConfigChannel.use_except,
137     "Enable chanmode +e (ban exceptions)"
138     },
139     {
140     "use_knock",
141     OUTPUT_BOOLEAN_YN,
142     &ConfigChannel.use_knock,
143     "Enable /KNOCK"
144     },
145     {
146     "knock_delay",
147     OUTPUT_DECIMAL,
148     &ConfigChannel.knock_delay,
149     "Delay between a users KNOCK attempts"
150     },
151     {
152     "knock_delay_channel",
153     OUTPUT_DECIMAL,
154     &ConfigChannel.knock_delay_channel,
155     "Delay between KNOCK attempts to a channel"
156     },
157     {
158     "max_chans_per_user",
159     OUTPUT_DECIMAL,
160     &ConfigChannel.max_chans_per_user,
161     "Maximum number of channels a user can join"
162     },
163     {
164     "quiet_on_ban",
165     OUTPUT_BOOLEAN_YN,
166     &ConfigChannel.quiet_on_ban,
167     "Banned users may not send text to a channel"
168     },
169     {
170     "max_bans",
171     OUTPUT_DECIMAL,
172     &ConfigChannel.max_bans,
173     "Total +b/e/I modes allowed in a channel"
174     },
175     {
176     "default_split_user_count",
177     OUTPUT_DECIMAL,
178     &ConfigChannel.default_split_user_count,
179     "Startup value of SPLITUSERS"
180     },
181     {
182     "default_split_server_count",
183     OUTPUT_DECIMAL,
184     &ConfigChannel.default_split_server_count,
185     "Startup value of SPLITNUM"
186     },
187     {
188     "no_create_on_split",
189     OUTPUT_BOOLEAN_YN,
190     &ConfigChannel.no_create_on_split,
191     "Disallow creation of channels when split"
192     },
193     {
194     "no_join_on_split",
195     OUTPUT_BOOLEAN_YN,
196     &ConfigChannel.no_join_on_split,
197     "Disallow joining channels when split"
198     },
199     {
200     "flatten_links",
201     OUTPUT_BOOLEAN_YN,
202     &ConfigServerHide.flatten_links,
203     "Flatten /links list"
204     },
205     {
206     "links_delay",
207     OUTPUT_DECIMAL,
208     &ConfigServerHide.links_delay,
209     "Links rehash delay"
210     },
211     {
212     "hidden",
213     OUTPUT_BOOLEAN_YN,
214     &ConfigServerHide.hidden,
215     "Hide this server from a flattened /links on remote servers"
216     },
217     {
218     "disable_hidden",
219     OUTPUT_BOOLEAN_YN,
220     &ConfigServerHide.disable_hidden,
221     "Prevent servers from hiding themselves from a flattened /links"
222     },
223     {
224     "hide_servers",
225     OUTPUT_BOOLEAN_YN,
226     &ConfigServerHide.hide_servers,
227     "Hide servernames from users"
228     },
229     {
230     "hidden_name",
231     OUTPUT_STRING,
232     &ConfigServerHide.hidden_name,
233     "Server name users see if hide_servers = yes"
234     },
235     {
236     "hide_server_ips",
237     OUTPUT_BOOLEAN_YN,
238     &ConfigServerHide.hide_server_ips,
239     "Prevent people from seeing server IPs"
240     },
241     {
242     "gline_min_cidr",
243     OUTPUT_DECIMAL,
244     &ConfigFileEntry.gline_min_cidr,
245     "Minimum required length of a CIDR bitmask for IPv4 G-Lines"
246     },
247     {
248     "gline_min_cidr6",
249     OUTPUT_DECIMAL,
250     &ConfigFileEntry.gline_min_cidr6,
251     "Minimum required length of a CIDR bitmask for IPv6 G-Lines"
252     },
253     {
254     "invisible_on_connect",
255     OUTPUT_BOOLEAN_YN,
256     &ConfigFileEntry.invisible_on_connect,
257     "Automatically set mode +i on connecting users"
258     },
259     {
260     "burst_away",
261     OUTPUT_BOOLEAN_YN,
262     &ConfigFileEntry.burst_away,
263     "Send /away string that users have set on the server burst"
264     },
265     {
266     "use_whois_actually",
267     OUTPUT_BOOLEAN_YN,
268     &ConfigFileEntry.use_whois_actually,
269     "Show IP address on /WHOIS when possible"
270     },
271     {
272     "kill_chase_time_limit",
273     OUTPUT_DECIMAL,
274     &ConfigFileEntry.kill_chase_time_limit,
275     "Nick Change Tracker for KILL"
276     },
277     {
278     "hide_spoof_ips",
279     OUTPUT_BOOLEAN_YN,
280     &ConfigFileEntry.hide_spoof_ips,
281     "Hide spoofed IP's"
282     },
283     {
284     "ignore_bogus_ts",
285     OUTPUT_BOOLEAN_YN,
286     &ConfigFileEntry.ignore_bogus_ts,
287     "Ignore bogus timestamps from other servers"
288     },
289     {
290     "disable_auth",
291     OUTPUT_BOOLEAN_YN,
292     &ConfigFileEntry.disable_auth,
293     "Completely disable ident lookups"
294     },
295     {
296     "disable_remote_commands",
297     OUTPUT_BOOLEAN_YN,
298     &ConfigFileEntry.disable_remote,
299     "Prevent users issuing commands on remote servers"
300     },
301     {
302     "tkline_expire_notices",
303     OUTPUT_BOOLEAN_YN,
304     &ConfigFileEntry.tkline_expire_notices,
305     "Show temporary kline/xline expire notices"
306     },
307     {
308     "default_floodcount",
309     OUTPUT_DECIMAL,
310     &ConfigFileEntry.default_floodcount,
311     "Startup value of FLOODCOUNT"
312     },
313     {
314     "failed_oper_notice",
315     OUTPUT_BOOLEAN,
316     &ConfigFileEntry.failed_oper_notice,
317     "Inform opers if someone /oper's with the wrong password"
318     },
319     {
320     "dots_in_ident",
321     OUTPUT_DECIMAL,
322     &ConfigFileEntry.dots_in_ident,
323     "Number of permissable dots in an ident"
324     },
325     {
326     "min_nonwildcard",
327     OUTPUT_DECIMAL,
328     &ConfigFileEntry.min_nonwildcard,
329     "Minimum non-wildcard chars in K/G lines"
330     },
331     {
332     "min_nonwildcard_simple",
333     OUTPUT_DECIMAL,
334     &ConfigFileEntry.min_nonwildcard_simple,
335     "Minimum non-wildcards in gecos bans"
336     },
337     {
338     "max_accept",
339     OUTPUT_DECIMAL,
340     &ConfigFileEntry.max_accept,
341     "Maximum nicknames on accept list"
342     },
343     {
344     "anti_nick_flood",
345     OUTPUT_BOOLEAN,
346     &ConfigFileEntry.anti_nick_flood,
347     "NICK flood protection"
348     },
349     {
350     "max_nick_time",
351     OUTPUT_DECIMAL,
352     &ConfigFileEntry.max_nick_time,
353     "NICK flood protection time interval"
354     },
355     {
356     "max_nick_changes",
357     OUTPUT_DECIMAL,
358     &ConfigFileEntry.max_nick_changes,
359     "NICK change threshhold setting"
360     },
361     {
362     "anti_spam_exit_message_time",
363     OUTPUT_DECIMAL,
364     &ConfigFileEntry.anti_spam_exit_message_time,
365     "Duration a client must be connected for to have an exit message"
366     },
367     {
368     "ts_warn_delta",
369     OUTPUT_DECIMAL,
370     &ConfigFileEntry.ts_warn_delta,
371     "Maximum permitted TS delta before displaying a warning"
372     },
373     {
374     "ts_max_delta",
375     OUTPUT_DECIMAL,
376     &ConfigFileEntry.ts_max_delta,
377     "Maximum permitted TS delta from another server"
378     },
379     {
380     "kline_with_reason",
381     OUTPUT_BOOLEAN_YN,
382     &ConfigFileEntry.kline_with_reason,
383     "Display K-line reason to client on disconnect"
384     },
385     {
386     "kline_reason",
387     OUTPUT_STRING,
388     &ConfigFileEntry.kline_reason,
389     "Reason given to K-lined clients on sign off"
390     },
391     {
392     "warn_no_nline",
393     OUTPUT_BOOLEAN,
394     &ConfigFileEntry.warn_no_nline,
395     "Display warning if connecting server lacks N-line"
396     },
397     {
398     "stats_o_oper_only",
399     OUTPUT_BOOLEAN_YN,
400     &ConfigFileEntry.stats_o_oper_only,
401     "STATS O output is only shown to operators"
402     },
403     {
404     "stats_P_oper_only",
405     OUTPUT_BOOLEAN_YN,
406     &ConfigFileEntry.stats_P_oper_only,
407     "STATS P is only shown to operators"
408     },
409     {
410     "stats_i_oper_only",
411     OUTPUT_BOOLEAN2,
412     &ConfigFileEntry.stats_i_oper_only,
413     "STATS I output is only shown to operators"
414     },
415     {
416     "stats_k_oper_only",
417     OUTPUT_BOOLEAN2,
418     &ConfigFileEntry.stats_k_oper_only,
419     "STATS K output is only shown to operators"
420     },
421     {
422     "caller_id_wait",
423     OUTPUT_DECIMAL,
424     &ConfigFileEntry.caller_id_wait,
425     "Minimum delay between notifying UMODE +g users of messages"
426     },
427     {
428     "opers_bypass_callerid",
429     OUTPUT_BOOLEAN_YN,
430     &ConfigFileEntry.opers_bypass_callerid,
431     "Allows IRC operators to message users who are +g (callerid)"
432     },
433     {
434     "pace_wait_simple",
435     OUTPUT_DECIMAL,
436     &ConfigFileEntry.pace_wait_simple,
437     "Minimum delay between less intensive commands"
438     },
439     {
440     "pace_wait",
441     OUTPUT_DECIMAL,
442     &ConfigFileEntry.pace_wait,
443     "Minimum delay between uses of certain commands"
444     },
445     {
446     "short_motd",
447     OUTPUT_BOOLEAN_YN,
448     &ConfigFileEntry.short_motd,
449     "Do not show MOTD; only tell clients they should read it"
450     },
451     {
452     "ping_cookie",
453     OUTPUT_BOOLEAN,
454     &ConfigFileEntry.ping_cookie,
455     "Require ping cookies to connect"
456     },
457     {
458     "no_oper_flood",
459     OUTPUT_BOOLEAN,
460     &ConfigFileEntry.no_oper_flood,
461     "Reduce flood control for operators"
462     },
463     {
464     "true_no_oper_flood",
465     OUTPUT_BOOLEAN,
466     &ConfigFileEntry.true_no_oper_flood,
467     "Completely disable flood control for operators"
468     },
469     {
470     "oper_pass_resv",
471     OUTPUT_BOOLEAN_YN,
472     &ConfigFileEntry.oper_pass_resv,
473     "Opers can over-ride RESVs"
474     },
475     {
476     "max_targets",
477     OUTPUT_DECIMAL,
478     &ConfigFileEntry.max_targets,
479     "The maximum number of PRIVMSG/NOTICE targets"
480     },
481     {
482     "client_flood",
483     OUTPUT_DECIMAL,
484     &ConfigFileEntry.client_flood,
485     "Maximum amount of data in a client's queue before they are disconnected"
486     },
487     {
488     "throttle_time",
489     OUTPUT_DECIMAL,
490     &ConfigFileEntry.throttle_time,
491     "Minimum time between client reconnects"
492     },
493     {
494     "glines",
495     OUTPUT_BOOLEAN,
496     &ConfigFileEntry.glines,
497     "G-line (network-wide K-line) support"
498     },
499     {
500     "duration",
501     OUTPUT_DECIMAL,
502     &ConfigFileEntry.gline_time,
503     "Expiry time for G-lines"
504     },
505     /* --[ END OF TABLE ]---------------------------------------------- */
506     {
507     NULL,
508     0,
509     NULL,
510     0
511     }
512     };
513    
514     /*
515     ** m_info()
516     ** parv[0] = sender prefix
517     ** parv[1] = servername
518     */
519     static void
520     m_info(struct Client *client_p, struct Client *source_p,
521     int parc, char *parv[])
522     {
523     static time_t last_used = 0;
524    
525     if ((last_used + ConfigFileEntry.pace_wait) > CurrentTime)
526     {
527     /* safe enough to give this on a local connect only */
528     sendto_one(source_p, form_str(RPL_LOAD2HI),
529     me.name, source_p->name);
530     return;
531     }
532    
533 michael 1121 last_used = CurrentTime;
534    
535 adx 30 if (!ConfigFileEntry.disable_remote)
536 michael 1144 if (hunt_server(client_p,source_p, ":%s INFO :%s", 1,
537     parc, parv) != HUNTED_ISME)
538 adx 30 return;
539    
540 michael 1144 send_info_text(source_p);
541 adx 30 }
542    
543     /*
544     ** mo_info()
545     ** parv[0] = sender prefix
546     ** parv[1] = servername
547     */
548     static void
549     mo_info(struct Client *client_p, struct Client *source_p,
550     int parc, char *parv[])
551     {
552     if (hunt_server(client_p, source_p, ":%s INFO :%s", 1,
553     parc, parv) != HUNTED_ISME)
554     return;
555    
556 michael 1144 send_info_text(source_p);
557 adx 30 }
558    
559     /*
560     ** ms_info()
561     ** parv[0] = sender prefix
562     ** parv[1] = servername
563     */
564     static void
565     ms_info(struct Client *client_p, struct Client *source_p,
566     int parc, char *parv[])
567     {
568     if (!IsClient(source_p))
569     return;
570    
571 michael 1144 if (hunt_server(client_p, source_p, ":%s INFO :%s", 1,
572     parc, parv) != HUNTED_ISME)
573 adx 30 return;
574    
575 michael 1144 send_info_text(source_p);
576 adx 30 }
577    
578     /* send_info_text()
579     *
580     * inputs - client pointer to send info text to
581     * output - NONE
582     * side effects - info text is sent to client
583     */
584     static void
585     send_info_text(struct Client *source_p)
586     {
587     const char **text = infotext;
588     char *source, *target;
589 michael 1144
590     sendto_realops_flags(UMODE_SPY, L_ALL,
591     "INFO requested by %s (%s@%s) [%s]",
592     source_p->name, source_p->username,
593     source_p->host, source_p->servptr->name);
594    
595 adx 30 if (!MyClient(source_p) && IsCapable(source_p->from, CAP_TS6) &&
596     HasID(source_p))
597     source = me.id, target = source_p->id;
598     else
599     source = me.name, target = source_p->name;
600    
601     while (*text)
602     {
603     const char *line = *text++;
604    
605     if (*line == '\0')
606     line = " ";
607    
608     sendto_one(source_p, form_str(RPL_INFO),
609     source, target, line);
610     }
611    
612 michael 1219 if (HasUMode(source_p, UMODE_OPER))
613 adx 30 send_conf_options(source_p);
614    
615     send_birthdate_online_time(source_p);
616    
617     sendto_one(source_p, form_str(RPL_ENDOFINFO),
618     me.name, source_p->name);
619     }
620    
621     /* send_birthdate_online_time()
622     *
623     * inputs - client pointer to send to
624     * output - NONE
625     * side effects - birthdate and online time are sent
626     */
627     static void
628     send_birthdate_online_time(struct Client *source_p)
629     {
630     if (!MyClient(source_p) && IsCapable(source_p->from, CAP_TS6) && HasID(source_p))
631     {
632     sendto_one(source_p, ":%s %d %s :On-line since %s",
633     me.id, RPL_INFO, source_p->id,
634 michael 1241 myctime(me.localClient->firsttime));
635 adx 30 }
636     else
637     {
638     sendto_one(source_p, ":%s %d %s :On-line since %s",
639     me.name, RPL_INFO, source_p->name,
640 michael 1241 myctime(me.localClient->firsttime));
641 adx 30 }
642     }
643    
644     /* send_conf_options()
645     *
646     * inputs - client pointer to send to
647     * output - NONE
648     * side effects - send config options to client
649     */
650     static void
651     send_conf_options(struct Client *source_p)
652     {
653     const char *from, *to;
654     const struct InfoStruct *iptr = NULL;
655    
656     /* Now send them a list of all our configuration options
657 michael 912 * (mostly from defaults.h and config.h)
658 adx 30 */
659     if (!MyClient(source_p) && IsCapable(source_p->from, CAP_TS6) && HasID(source_p))
660     {
661     from = me.id;
662     to = source_p->id;
663     }
664     else
665     {
666     from = me.name;
667     to = source_p->name;
668     }
669    
670     /*
671     * Parse the info_table[] and do the magic.
672     */
673     for (iptr = info_table; iptr->name; ++iptr)
674     {
675     switch (iptr->output_type)
676     {
677     /* For "char *" references */
678     case OUTPUT_STRING:
679     {
680     const char *option = *((char **)iptr->option);
681    
682     sendto_one(source_p, ":%s %d %s :%-30s %-5s [%-30s]",
683     from, RPL_INFO, to,
684     iptr->name, option ? option : "NONE",
685     iptr->desc ? iptr->desc : "<none>");
686     break;
687     }
688    
689     /* For "char foo[]" references */
690     case OUTPUT_STRING_PTR:
691     {
692     const char *option = iptr->option;
693    
694     sendto_one(source_p, ":%s %d %s :%-30s %-5s [%-30s]",
695     from, RPL_INFO, to,
696     iptr->name, option ? option : "NONE",
697     iptr->desc ? iptr->desc : "<none>");
698     break;
699     }
700    
701     /* Output info_table[i].option as a decimal value. */
702     case OUTPUT_DECIMAL:
703     {
704     const int option = *((int *)iptr->option);
705    
706     sendto_one(source_p, ":%s %d %s :%-30s %-5d [%-30s]",
707     from, RPL_INFO, to, iptr->name,
708     option, iptr->desc ? iptr->desc : "<none>");
709     break;
710     }
711    
712     /* Output info_table[i].option as "ON" or "OFF" */
713     case OUTPUT_BOOLEAN:
714     {
715     const int option = *((int *)iptr->option);
716    
717     sendto_one(source_p, ":%s %d %s :%-30s %-5s [%-30s]",
718     from, RPL_INFO, to,
719     iptr->name, option ? "ON" : "OFF",
720     iptr->desc ? iptr->desc : "<none>");
721    
722     break;
723     }
724    
725     /* Output info_table[i].option as "YES" or "NO" */
726     case OUTPUT_BOOLEAN_YN:
727     {
728     int option = *((int *)iptr->option);
729    
730     sendto_one(source_p, ":%s %d %s :%-30s %-5s [%-30s]",
731     from, RPL_INFO, to,
732     iptr->name, option ? "YES" : "NO",
733     iptr->desc ? iptr->desc : "<none>");
734     break;
735     }
736    
737     case OUTPUT_BOOLEAN2:
738     {
739     int option = *((int *)iptr->option);
740    
741     sendto_one(source_p, ":%s %d %s :%-30s %-5s [%-30s]",
742     from, RPL_INFO, to,
743     iptr->name, option ? ((option == 1) ? "MASK" : "YES") : "NO",
744     iptr->desc ? iptr->desc : "<none>");
745     break;
746     }
747     }
748     }
749    
750     sendto_one(source_p, form_str(RPL_INFO),
751     from, to, "");
752     }
753 michael 1230
754     static struct Message info_msgtab = {
755     "INFO", 0, 0, 0, MAXPARA, MFLG_SLOW, 0,
756     { m_unregistered, m_info, ms_info, m_ignore, mo_info, m_ignore }
757     };
758    
759     static void
760     module_init(void)
761     {
762     mod_add_cmd(&info_msgtab);
763     }
764    
765     static void
766     module_exit(void)
767     {
768     mod_del_cmd(&info_msgtab);
769     }
770    
771     struct module module_entry = {
772     .node = { NULL, NULL, NULL },
773     .name = NULL,
774     .version = "$Revision$",
775     .handle = NULL,
776     .modinit = module_init,
777     .modexit = module_exit,
778     .flags = 0
779     };

Properties

Name Value
svn:eol-style native
svn:keywords Id Revision