diff options
author | Homer Horwitz | 2008-10-03 23:00:42 +0000 |
---|---|---|
committer | Homer Horwitz | 2008-10-03 23:00:42 +0000 |
commit | 16d68749a457acf079a6737f4ca9a9adb9e53e2f (patch) | |
tree | 901b2c31e53eeb97f30ac46f2b7f406a01e1755a /OpenSim/Framework | |
parent | Fix: Mantis#2326: Fix: privilege escalation through attach from ground (diff) | |
download | opensim-SC-16d68749a457acf079a6737f4ca9a9adb9e53e2f.zip opensim-SC-16d68749a457acf079a6737f4ca9a9adb9e53e2f.tar.gz opensim-SC-16d68749a457acf079a6737f4ca9a9adb9e53e2f.tar.bz2 opensim-SC-16d68749a457acf079a6737f4ca9a9adb9e53e2f.tar.xz |
Add the missing bits for the new region-search:
- Added lookup in the data-layer
- MySQL works
- SQLite doesn't have a grid-db, so it won't work there
- I added MSSQL-code to the best of my knowledge; but I don't know MSSQL :-)
- Added the plumbing up to OGS1GridServices. This speaks with the grid-server
via XMLRPC.
- Modified MapSearchModule to use the new data. It's backward compatible; if
used with an old grid-server, it just returns one found region instead of a
list.
- Refactored a bit.
Note: This updates data, grid-server and region code. No new files.
Diffstat (limited to 'OpenSim/Framework')
-rw-r--r-- | OpenSim/Framework/Communications/IGridServices.cs | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/OpenSim/Framework/Communications/IGridServices.cs b/OpenSim/Framework/Communications/IGridServices.cs index 177009d..69e8756 100644 --- a/OpenSim/Framework/Communications/IGridServices.cs +++ b/OpenSim/Framework/Communications/IGridServices.cs | |||
@@ -70,5 +70,20 @@ namespace OpenSim.Framework.Communications | |||
70 | List<MapBlockData> RequestNeighbourMapBlocks(int minX, int minY, int maxX, int maxY); | 70 | List<MapBlockData> RequestNeighbourMapBlocks(int minX, int minY, int maxX, int maxY); |
71 | // not complete yet, only contains the fields needed for ParcelInfoReqeust | 71 | // not complete yet, only contains the fields needed for ParcelInfoReqeust |
72 | LandData RequestLandData(ulong regionHandle, uint x, uint y); | 72 | LandData RequestLandData(ulong regionHandle, uint x, uint y); |
73 | |||
74 | /// <summary> | ||
75 | /// Get information about regions starting with the provided name. | ||
76 | /// </summary> | ||
77 | /// <param name="name"> | ||
78 | /// The name to match against. | ||
79 | /// </param> | ||
80 | /// <param name="maxNumber"> | ||
81 | /// The maximum number of results to return. | ||
82 | /// </param> | ||
83 | /// <returns> | ||
84 | /// A list of <see cref="RegionInfo"/>s of regions with matching name. If the | ||
85 | /// grid-server couldn't be contacted or returned an error, return null. | ||
86 | /// </returns> | ||
87 | List<RegionInfo> RequestNamedRegions(string name, int maxNumber); | ||
73 | } | 88 | } |
74 | } | 89 | } |