mirror of
git://projects.qi-hardware.com/wernermisc.git
synced 2024-11-15 06:29:22 +02:00
qpkg: added copyright headers and changed name to emphasize speediness
- Makefile, gobble.h, gobble.c, id.h, id.c, prereq.h, prereq.c, qpkg.h, qpkg.c, rbtest.c: added copyright header - id.c: include jrb.h (for completeness) - README: change name from "Query package databases" to "Quick package database query"
This commit is contained in:
parent
07a4422641
commit
3d1ef02aba
@ -1,3 +1,15 @@
|
||||
#
|
||||
# Makefile - Makefile of qpkg
|
||||
#
|
||||
# Written 2010 by Werner Almesberger
|
||||
# Copyright 2010 by Werner Almesberger
|
||||
#
|
||||
# This program is free software; you can redistribute it and/or modify
|
||||
# it under the terms of the GNU General Public License as published by
|
||||
# the Free Software Foundation; either version 2 of the License, or
|
||||
# (at your option) any later version.
|
||||
#
|
||||
|
||||
SHELL = /bin/bash
|
||||
|
||||
OBJS_qpkg = gobble.o id.o prereq.o qpkg.o jrb.o
|
||||
|
@ -1,5 +1,5 @@
|
||||
qpkg - Query package databases
|
||||
==============================
|
||||
qpkg - Quick package database query
|
||||
===================================
|
||||
|
||||
qpkg is a tool that reads package databases of the kind used by opkg
|
||||
in OE-derived Jlime (which are very similar to what dpkg and apt use)
|
||||
|
@ -1,3 +1,16 @@
|
||||
/*
|
||||
* gobble.c - Read a package database file in a hurry
|
||||
*
|
||||
* Written 2010 by Werner Almesberger
|
||||
* Copyright 2010 Werner Almesberger
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
* the Free Software Foundation; either version 2 of the License, or
|
||||
* (at your option) any later version.
|
||||
*/
|
||||
|
||||
|
||||
#include <stdlib.h>
|
||||
#include <stdio.h>
|
||||
#include <string.h>
|
||||
|
@ -1,3 +1,15 @@
|
||||
/*
|
||||
* gobble.h - Read a package database file in a hurry
|
||||
*
|
||||
* Written 2010 by Werner Almesberger
|
||||
* Copyright 2010 Werner Almesberger
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
* the Free Software Foundation; either version 2 of the License, or
|
||||
* (at your option) any later version.
|
||||
*/
|
||||
|
||||
#ifndef GOBBLE_H
|
||||
#define GOBBLE_H
|
||||
|
||||
|
15
qpkg/id.c
15
qpkg/id.c
@ -1,5 +1,20 @@
|
||||
/*
|
||||
* id.c - Registry of unique and alphabetically sorted identifiers
|
||||
*
|
||||
* Written 2010 by Werner Almesberger
|
||||
* Copyright 2010 Werner Almesberger
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
* the Free Software Foundation; either version 2 of the License, or
|
||||
* (at your option) any later version.
|
||||
*/
|
||||
|
||||
|
||||
#include <string.h>
|
||||
|
||||
#include "jrb.h"
|
||||
|
||||
#include "util.h"
|
||||
#include "id.h"
|
||||
|
||||
|
12
qpkg/id.h
12
qpkg/id.h
@ -1,3 +1,15 @@
|
||||
/*
|
||||
* id.h - Registry of unique and alphabetically sorted identifiers
|
||||
*
|
||||
* Written 2010 by Werner Almesberger
|
||||
* Copyright 2010 Werner Almesberger
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
* the Free Software Foundation; either version 2 of the License, or
|
||||
* (at your option) any later version.
|
||||
*/
|
||||
|
||||
#ifndef ID_H
|
||||
#define ID_H
|
||||
|
||||
|
@ -1,3 +1,16 @@
|
||||
/*
|
||||
* prereq.c - Determine prerequisite packages
|
||||
*
|
||||
* Written 2010 by Werner Almesberger
|
||||
* Copyright 2010 Werner Almesberger
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
* the Free Software Foundation; either version 2 of the License, or
|
||||
* (at your option) any later version.
|
||||
*/
|
||||
|
||||
|
||||
#include <stdlib.h>
|
||||
#include <stdio.h>
|
||||
#include <string.h>
|
||||
|
@ -1,3 +1,15 @@
|
||||
/*
|
||||
* prereq.h - Determine prerequisite packages
|
||||
*
|
||||
* Written 2010 by Werner Almesberger
|
||||
* Copyright 2010 Werner Almesberger
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
* the Free Software Foundation; either version 2 of the License, or
|
||||
* (at your option) any later version.
|
||||
*/
|
||||
|
||||
#ifndef PREREQ_H
|
||||
#define PREREQ_H
|
||||
|
||||
|
13
qpkg/qpkg.c
13
qpkg/qpkg.c
@ -1,3 +1,16 @@
|
||||
/*
|
||||
* qpkg.c - Quick package database query
|
||||
*
|
||||
* Written 2010 by Werner Almesberger
|
||||
* Copyright 2010 Werner Almesberger
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
* the Free Software Foundation; either version 2 of the License, or
|
||||
* (at your option) any later version.
|
||||
*/
|
||||
|
||||
|
||||
#include <stdlib.h>
|
||||
#include <stdio.h>
|
||||
#include <string.h>
|
||||
|
12
qpkg/qpkg.h
12
qpkg/qpkg.h
@ -1,3 +1,15 @@
|
||||
/*
|
||||
* qpkg.h - Quick package database query
|
||||
*
|
||||
* Written 2010 by Werner Almesberger
|
||||
* Copyright 2010 Werner Almesberger
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
* the Free Software Foundation; either version 2 of the License, or
|
||||
* (at your option) any later version.
|
||||
*/
|
||||
|
||||
#ifndef QPKG_H
|
||||
#define QPKG_H
|
||||
|
||||
|
@ -1,3 +1,16 @@
|
||||
/*
|
||||
* rbtest.c - Very basic regression test for red-black trees
|
||||
*
|
||||
* Written 2010 by Werner Almesberger
|
||||
* Copyright 2010 Werner Almesberger
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
* the Free Software Foundation; either version 2 of the License, or
|
||||
* (at your option) any later version.
|
||||
*/
|
||||
|
||||
|
||||
#include <stdio.h>
|
||||
#include <string.h>
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user