diff options
author | Eugene V. Lyubimkin <jackyf@debian.org> | 2011-11-26 15:58:33 +0200 |
---|---|---|
committer | Daniel Lange <DLange@git.local> | 2016-04-11 13:00:30 +0200 |
commit | c65eb8be811f59b55d64d9e7654c33708de79ad9 (patch) | |
tree | ee6e542b988263c49f0e1200d6aa5aa635667fe8 /Affinity.h | |
parent | 38174fffd79f54a8be7642bf170a2320b29e8063 (diff) | |
parent | eaf11cc12a1aa4b050a8a1e7ea3770d3d9c81e95 (diff) | |
download | debian_htop-c65eb8be811f59b55d64d9e7654c33708de79ad9.tar.gz debian_htop-c65eb8be811f59b55d64d9e7654c33708de79ad9.tar.bz2 debian_htop-c65eb8be811f59b55d64d9e7654c33708de79ad9.zip |
Imported Debian patch 1.0-1debian/1.0-1
Diffstat (limited to 'Affinity.h')
-rw-r--r-- | Affinity.h | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/Affinity.h b/Affinity.h new file mode 100644 index 0000000..0f74bf5 --- /dev/null +++ b/Affinity.h @@ -0,0 +1,24 @@ +/* Do not edit this file. It was automatically generated. */ + +#ifndef HEADER_Affinity +#define HEADER_Affinity + +#include "config.h" +#include <stdlib.h> + + +typedef struct Affinity_ { + int size; + int used; + int* cpus; +} Affinity; + + +Affinity* Affinity_new(); + +void Affinity_delete(Affinity* this); + +void Affinity_add(Affinity* this, int id); + + +#endif |