~ubuntu-branches/ubuntu/quantal/silo/quantal

« back to all changes in this revision

Viewing changes to include/stringops.h

  • Committer: Bazaar Package Importer
  • Author(s): Fabio M. Di Nitto
  • Date: 2007-10-25 09:28:08 UTC
  • mfrom: (15.1.1 upstream)
  • Revision ID: james.westby@ubuntu.com-20071025092808-1yhj12t7s4zqsfu5
Tags: 1.4.13a+git20070930-1ubuntu1
* Merge from debian unstable, remaining changes:
  - Build with -fno-stack-protector.
  - Change silo.postinst to automatically update the boot block without
    invoking siloconfig and keep asking questions on upgrades.
  - Convert silo.conf to use /dev/disk/by-uuid.
  - Ubuntu maintainer foobar.
  - Fix debian/rules call to dh_installdocs.
  - Drop the requirement of gcc-4.1 and start using default gcc.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#ifndef __STRINGOPS_H
 
2
#define __STRINGOPS_H
 
3
 
 
4
#include <silo.h>
 
5
 
 
6
/* common */
 
7
#ifndef __SIZE_TYPE__
 
8
#define __SIZE_TYPE__ long unsigned int
 
9
#endif
 
10
#ifndef _LINUX_TYPES_H
 
11
typedef __SIZE_TYPE__ size_t;
 
12
#endif
 
13
 
 
14
/* stringops1.c */
 
15
char *strcpy(char *, const char *);
 
16
int strcmp(const char *, const char *);
 
17
void *memset(void *, int, size_t);
 
18
void __bzero(void *, size_t);
 
19
void *memcpy(void *, const void *, size_t);
 
20
void *memmove(void *, const void *, size_t);
 
21
 
 
22
char *strcat(char *, const char *);
 
23
char *strncat(char *, const char *, size_t);
 
24
int strncmp(const char *, const char *, size_t);
 
25
char *strncpy(char *, const char *, size_t);
 
26
char *strchr(const char *, int);
 
27
char *strrchr(const char *, int);
 
28
int strlen(const char *);
 
29
char *strdup(const char *);
 
30
int strcasecmp(const char *, const char *);
 
31
int strncasecmp(const char *, const char *, size_t);
 
32
char *strstr(const char *, const char *);
 
33
int memcmp(const void *, const void *, size_t);
 
34
 
 
35
#endif /* __STRINGOPS_H */