d43e2d3ade
This moves the version string into dahdi-version.c that is then linked into dahdi-base.c and dahdi-sysfs.c. This speeds builds on slow computers since dahdi-base.c and dahdi-sysfs.c does not need to be rebuilt if only the version string is changing. Signed-off-by: Shaun Ruffell <sruffell@digium.com> Acked-by: Oron Peled <oron.peled@xorcom.com> git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@9777 a0bf4364-ded3-4de4-8d8a-66a801d63aff
38 lines
1.1 KiB
C
38 lines
1.1 KiB
C
#ifndef _DAHDI_H
|
|
#define _DAHDI_H
|
|
|
|
/* dahdi.h: headers intended only for the dahdi.ko module.
|
|
* Not to be included elsewhere
|
|
*
|
|
* Written by Tzafrir Cohen <tzafrir.cohen@xorcom.com>
|
|
* Copyright (C) 2011, Xorcom
|
|
*
|
|
* All rights reserved.
|
|
*
|
|
*/
|
|
|
|
/*
|
|
* See http://www.asterisk.org for more information about
|
|
* the Asterisk project. Please do not directly contact
|
|
* any of the maintainers of this project for assistance;
|
|
* the project provides a web site, mailing lists and IRC
|
|
* channels for your use.
|
|
*
|
|
* This program is free software, distributed under the terms of
|
|
* the GNU General Public License Version 2 as published by the
|
|
* Free Software Foundation. See the LICENSE file included with
|
|
* this program for more details.
|
|
*/
|
|
|
|
extern int debug;
|
|
extern const char *const dahdi_version;
|
|
|
|
int dahdi_register_chardev(struct dahdi_chardev *dev);
|
|
int dahdi_unregister_chardev(struct dahdi_chardev *dev);
|
|
int span_sysfs_create(struct dahdi_span *span);
|
|
void span_sysfs_remove(struct dahdi_span *span);
|
|
int __init dahdi_sysfs_init(const struct file_operations *dahdi_fops);
|
|
void dahdi_sysfs_exit(void);
|
|
|
|
#endif /* _DAHDI_H */
|