Document the naming scheme in HACKING.
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
-#ifndef SIGROK_ASIX_SIGMA_H
-#define SIGROK_ASIX_SIGMA_H
+#ifndef LIBSIGROK_HARDWARE_ASIX_SIGMA_ASIX_SIGMA_H
+#define LIBSIGROK_HARDWARE_ASIX_SIGMA_ASIX_SIGMA_H
enum sigma_write_register {
WRITE_CLOCK_SELECT = 0,
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
-#ifndef SIGROK_LINK_MSO19_H
-#define SIGROK_LINK_MSO19_H
+#ifndef LIBSIGROK_HARDWARE_LINK_MSO19_LINK_MSO19_H
+#define LIBSIGROK_HARDWARE_LINK_MSO19_LINK_MSO19_H
/* Structure for the pattern generator state */
struct mso_patgen {
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
-#ifndef OLS_H_
-#define OLS_H_
+#ifndef LIBSIGROK_HARDWARE_OPENBENCH_LOGIC_SNIFFER_OLS_H
+#define LIBSIGROK_HARDWARE_OPENBENCH_LOGIC_SNIFFER_OLS_H
#define NUM_PROBES 32
#define NUM_TRIGGER_STAGES 4
struct sr_serial_device_instance *serial;
};
-#endif /* OLS_H_ */
+#endif
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
-#ifndef SALEAE_LOGIC_H_
-#define SALEAE_LOGIC_H_
+#ifndef LIBSIGROK_HARDWARE_SALEAE_LOGIC_SALEAE_LOGIC_H
+#define LIBSIGROK_HARDWARE_SALEAE_LOGIC_SALEAE_LOGIC_H
#define USB_INTERFACE 0
#define USB_CONFIGURATION 1
struct sr_usb_device_instance *usb;
};
-#endif /* SALEAE_LOGIC_H_ */
+#endif
* THE POSSIBILITY OF SUCH DAMAGE.
*/
-#ifndef SIGROK_ZEROPLUS_ANALYZER_H
-#define SIGROK_ZEROPLUS_ANALYZER_H
+#ifndef LIBSIGROK_HARDWARE_ZEROPLUS_LOGIC_CUBE_ANALYZER_H
+#define LIBSIGROK_HARDWARE_ZEROPLUS_LOGIC_CUBE_ANALYZER_H
#include <libusb.h>
#include "sigrok.h"
* THE POSSIBILITY OF SUCH DAMAGE.
*/
-#ifndef SIGROK_ZEROPLUS_GL_H
-#define SIGROK_ZEROPLUS_GL_H
+#ifndef LIBSIGROK_HARDWARE_ZEROPLUS_LOGIC_CUBE_GL_USB_H
+#define LIBSIGROK_HARDWARE_ZEROPLUS_LOGIC_CUBE_GL_USB_H
#include <libusb.h>
#include "sigrok.h"
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
-#ifndef TEXT_H_
-#define TEXT_H_
+#ifndef LIBSIGROK_OUTPUT_TEXT_TEXT_H
+#define LIBSIGROK_OUTPUT_TEXT_TEXT_H
#define DEFAULT_BPL_BITS 64
#define DEFAULT_BPL_HEX 192
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
-#ifndef SIGROK_SIGROK_INTERNAL_H
-#define SIGROK_SIGROK_INTERNAL_H
+#ifndef LIBSIGROK_SIGROK_INTERNAL_H
+#define LIBSIGROK_SIGROK_INTERNAL_H
#include <stdarg.h>
#include <glib.h>
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
-#ifndef SIGROK_SIGROK_PROTO_H
-#define SIGROK_SIGROK_PROTO_H
+#ifndef LIBSIGROK_SIGROK_PROTO_H
+#define LIBSIGROK_SIGROK_PROTO_H
/*--- backend.c -------------------------------------------------------------*/
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
-#ifndef SIGROK_SIGROK_H
-#define SIGROK_SIGROK_H
+#ifndef LIBSIGROK_SIGROK_H
+#define LIBSIGROK_SIGROK_H
#include <stdio.h>
#include <sys/time.h>